summaryrefslogtreecommitdiff
path: root/debugfs/debugfs.8.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2009-07-26 22:29:47 -0400
committerTheodore Ts'o <tytso@mit.edu>2009-07-27 10:37:20 -0400
commit187cb623dc8085439d366dceb07bc2191da3c21e (patch)
tree0a8f8da43d91ed6b0e065eca7a24abbcaa2410da /debugfs/debugfs.8.in
parentad751f11ecab50ec78a4b50ae95af3e7b2c4f06a (diff)
downloade2fsprogs-187cb623dc8085439d366dceb07bc2191da3c21e.tar.gz
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/debugfs.8.in')
-rw-r--r--debugfs/debugfs.8.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/debugfs/debugfs.8.in b/debugfs/debugfs.8.in
index 4dcc48b8..9012a56a 100644
--- a/debugfs/debugfs.8.in
+++ b/debugfs/debugfs.8.in
@@ -192,6 +192,25 @@ option is given set the owner, group and permissions information on
to match
.IR filespec .
.TP
+.I dump_extents [-n] [-l] filespec
+Dump the the extent tree of the inode
+.IR filespec .
+The
+.I -n
+flag will cause
+.I dump_extents
+to only display the interior nodes in the extent tree. The
+.I -l
+flag cause
+.I dump_extents
+to only display the leaf nodes in the extent tree.
+.IP
+(Please note that the length and range of blocks for the last extent in
+an interior node is an estimate by the extents library functions, and is
+not stored in file esystem data structures. Hence, the values displayed
+may not necessarily by accurate and does not indicate a problem or
+corruption in the file system.)
+.TP
.I expand_dir filespec
Expand the directory
.IR filespec .