path: root/Documentation
diff options
authorQu Wenruo <>2018-03-14 09:05:38 +0800
committerDavid Sterba <>2018-03-30 22:15:54 +0200
commit992aa558397e519d2251cdc6c4d3a9e019b240a0 (patch)
tree5397c56996c94da3a33933d1a29bdfa8479d22d2 /Documentation
parentf37ae8d275c2f988c9fc967f8272648fb0118d3d (diff)
btrfs-progs: dump-tree: add option to print children nodes of a given block
When debuging with "btrfs inspect dump-tree", it's not that handy if we want to iterate all child tree blocks starting from a specified block. -b can only print a single block, while without -b "btrfs inspect dump-tree" will need extra tree roots fulfilled to continue, which is not possible for a damaged filesystem. Add a new option --follow to iterate a sub-tree starting from block specified by --block. Signed-off-by: Qu Wenruo <> [ remove the short option for now ] Signed-off-by: David Sterba <>
Diffstat (limited to 'Documentation')
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc
index e072a943..e2db6466 100644
--- a/Documentation/btrfs-inspect-internal.asciidoc
+++ b/Documentation/btrfs-inspect-internal.asciidoc
@@ -87,6 +87,8 @@ the respective tree root block offset
print only the uuid tree information, empty output if the tree does not exist
-b <block_num>::::
print info of the specified block only
+use with '-b', print all children tree blocks of '<block_num>'
-t <tree_id>::::
print only the tree with the specified ID, where the ID can be numerical or
common name in a flexible human readable form