@@ -25,8 +25,15 @@ Print detailed extents info.
Print info of btrfs device and root tree dirs only.
-r::
Print info of roots only.
+-R::
+Print info of roots and root backups.
+-u::
+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.
+
EXIT STATUS
-----------
@@ -67,6 +67,32 @@ inode number 2), but such subvolume does not contain any files anyway
+
resolve the absolute path of a the subvolume id 'subvolid'
+*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.
++
+`Options`
++
+-e::::
+Print detailed extents info.
+-d::::
+Print info of btrfs device and root tree dirs only.
+-r::::
+Print info of roots only.
+-R::::
+Print info of roots and root backups.
+-u::::
+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.
+
+
EXIT STATUS
-----------
*btrfs inspect-internal* returns a zero exit status if it succeeds. Non zero is
Signed-off-by: Alexander Fougner <fougner89@gmail.com> --- Documentation/btrfs-debug-tree.asciidoc | 7 +++++++ Documentation/btrfs-inspect-internal.asciidoc | 26 ++++++++++++++++++++++++++ 2 files changed, 33 insertions(+)