diff options
author | Theodore Ts'o <tytso@mit.edu> | 2011-07-09 12:13:40 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2011-07-09 12:13:40 -0400 |
commit | af0df2aa4a073f7e1a2d58b40010ecd891e80a60 (patch) | |
tree | 9fc556781dba13d8601647a2358b5963153a4941 /debugfs/debug_cmds.ct | |
parent | b4db1e4c7461a50e18c9fd135b9f1ba6f27e4390 (diff) | |
download | e2fsprogs-af0df2aa4a073f7e1a2d58b40010ecd891e80a60.tar.gz |
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" <tytso@mit.edu>
Diffstat (limited to 'debugfs/debug_cmds.ct')
-rw-r--r-- | debugfs/debug_cmds.ct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct index 9b6c985a..4e9e8310 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; |