diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2009-07-26 22:29:47 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2009-07-27 10:37:20 -0400 |
| commit | 187cb623dc8085439d366dceb07bc2191da3c21e (patch) | |
| tree | 0a8f8da43d91ed6b0e065eca7a24abbcaa2410da /debugfs/debug_cmds.ct | |
| parent | ad751f11ecab50ec78a4b50ae95af3e7b2c4f06a (diff) | |
| download | platform_external_e2fsprogs-187cb623dc8085439d366dceb07bc2191da3c21e.tar.gz platform_external_e2fsprogs-187cb623dc8085439d366dceb07bc2191da3c21e.tar.bz2 platform_external_e2fsprogs-187cb623dc8085439d366dceb07bc2191da3c21e.zip | |
debugfs: Add the new command dump_extents and extent the stat command
Extend the stat command to display more detailed extent information if
the file uses extent mapping instead of displaying the block map using
the block_iterate funtion.
Add the command dump_extents which displays even more detailed
information about an inode's extent tree.
This commit is an extension of a patch from Curt Wohlgemuth.
Signed-off-by: Curt Wohlgemuth <curtw@google.com>
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 5355764e2..95dea0dfc 100644 --- a/debugfs/debug_cmds.ct +++ b/debugfs/debug_cmds.ct @@ -43,6 +43,9 @@ request do_list_dir, "List directory", request do_stat, "Show inode information ", show_inode_info, stat; +request do_dump_extents, "Dump extents information ", + dump_extents, extents, ex; + request do_link, "Create directory link", link, ln; |
