diff options
| author | Darrick J. Wong <darrick.wong@oracle.com> | 2014-07-22 12:44:42 -0400 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2014-07-22 13:48:54 -0400 |
| commit | e13ebfdd5f13876de1b978c8a5ed5a322ed7ba62 (patch) | |
| tree | efd8ba7411a677a2a592947c982f5ed2df75c3a0 /debugfs/debug_cmds.ct | |
| parent | c7c539e8fd86de691475eea00409c6c030f312cd (diff) | |
| download | platform_external_e2fsprogs-e13ebfdd5f13876de1b978c8a5ed5a322ed7ba62.tar.gz platform_external_e2fsprogs-e13ebfdd5f13876de1b978c8a5ed5a322ed7ba62.tar.bz2 platform_external_e2fsprogs-e13ebfdd5f13876de1b978c8a5ed5a322ed7ba62.zip | |
debugfs: create inode_dump command to dump an inode in hex
Create a command that will dump an entire inode's space in hex.
[ Modified by tytso to add a description to the man page, and to add
the more formal command name, inode_dump, in addition to short
command name of "idump". ]
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'debugfs/debug_cmds.ct')
| -rw-r--r-- | debugfs/debug_cmds.ct | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debugfs/debug_cmds.ct b/debugfs/debug_cmds.ct index 6a18df67c..ed3728fda 100644 --- a/debugfs/debug_cmds.ct +++ b/debugfs/debug_cmds.ct @@ -188,7 +188,7 @@ request do_zap_block, "Zap block: fill with 0, pattern, flip bits etc.", zap_block, zap; request do_block_dump, "Dump contents of a block", - block_dump, bd; + block_dump, bdump, bd; request do_list_quota, "List quota", list_quota, lq; @@ -196,5 +196,9 @@ request do_list_quota, "List quota", request do_get_quota, "Get quota", get_quota, gq; +request do_idump, "Dump the inode structure in hex", + inode_dump, idump, id; + + end; |
