path: root/Documentation/btrfs-inspect-internal.asciidoc
diff options
authorAlexander Fougner <>2016-02-22 15:49:50 +0100
committerDavid Sterba <>2016-03-14 13:42:47 +0100
commita7dae09ae2f64b653ea9c5f928b86a5f98c3b506 (patch)
treeba462e9396df11d74b4195e086b78be1df0375d0 /Documentation/btrfs-inspect-internal.asciidoc
parentfcd480a4d0932a4c6a12a504d3cf2e0c175ae190 (diff)
btrfs-progs: update docs and completion for inspect-internal dump-tree
Signed-off-by: Alexander Fougner <> Signed-off-by: David Sterba <>
Diffstat (limited to 'Documentation/btrfs-inspect-internal.asciidoc')
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc
index 1c7c3611..73c834cb 100644
--- a/Documentation/btrfs-inspect-internal.asciidoc
+++ b/Documentation/btrfs-inspect-internal.asciidoc
@@ -19,6 +19,31 @@ requires calls to privileged ioctls.
+*dump-tree* [options] <device>::
+(needs root privileges)
+Dump the whole tree of the given device.
+This is useful for analyzing filesystem state or inconsistence and has
+a positive educational effect on understanding the internal structure.
+<device> is the device file where the filesystem is stored.
+Print detailed extents info.
+Print info of btrfs device and root tree dirs only.
+Print info of roots only.
+Print info of roots and root backups.
+Print info of UUID tree only.
+-b <block_num>::::
+Print info of the specified block only.
+-t <tree_id>::::
+Print only the tree with the specified ID.
*inode-resolve* [-v] <ino> <path>::
(needs root privileges)