aboutsummaryrefslogtreecommitdiffstats
path: root/debugfs/debug_cmds.ct
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2014-07-22 12:44:42 -0400
committerTheodore Ts'o <tytso@mit.edu>2014-07-22 13:48:54 -0400
commite13ebfdd5f13876de1b978c8a5ed5a322ed7ba62 (patch)
treeefd8ba7411a677a2a592947c982f5ed2df75c3a0 /debugfs/debug_cmds.ct
parentc7c539e8fd86de691475eea00409c6c030f312cd (diff)
downloadplatform_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.ct6
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;