From af0df2aa4a073f7e1a2d58b40010ecd891e80a60 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sat, 9 Jul 2011 12:13:40 -0400 Subject: debugfs: add a new debugfs command 'blocks' The blocks command prints out the blocks used by a particular inode, in a format which is useful for test suite automation. Signed-off-by: "Theodore Ts'o" --- debugfs/debug_cmds.ct | 3 +++ 1 file changed, 3 insertions(+) (limited to 'debugfs/debug_cmds.ct') diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct index 9b6c985ad..4e9e8310b 100644 --- a/debugfs/debug_cmds.ct +++ b/debugfs/debug_cmds.ct @@ -46,6 +46,9 @@ request do_stat, "Show inode information ", request do_dump_extents, "Dump extents information ", dump_extents, extents, ex; +request do_blocks, "Dump blocks used by an inode ", + blocks; + request do_link, "Create directory link", link, ln; -- cgit v1.2.3