path: root/Documentation/btrfs-debug-tree.txt
diff options
authorQu Wenruo <>2014-04-02 16:29:29 +0800
committerDavid Sterba <>2014-04-22 14:15:22 +0200
commite7a2edd1b693e4dbe17309f9ac1782a0eefbd653 (patch)
tree27532b586b4a76db534f5735c93573fb34e42512 /Documentation/btrfs-debug-tree.txt
parentf6203e9ff4082b372cdfd669e53ad7219643032a (diff)
btrfs-progs: Convert man page for btrfs-debug-tree.
Convert man page for btrfs-debug-tree. Signed-off-by: Qu Wenruo <> Signed-off-by: David Sterba <>
Diffstat (limited to 'Documentation/btrfs-debug-tree.txt')
1 files changed, 50 insertions, 0 deletions
diff --git a/Documentation/btrfs-debug-tree.txt b/Documentation/btrfs-debug-tree.txt
new file mode 100644
index 00000000..80a85d44
--- /dev/null
+++ b/Documentation/btrfs-debug-tree.txt
@@ -0,0 +1,50 @@
+btrfs-debug-tree - dump btrfs filesystem metadata into stdout
+'btrfs-debug-tree' [options] <device>
+'btrfs-debug-tree' is used to dump the whole tree of the given device.
+This is maybe 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.
+-b <block_num>::
+Print info of the specified block only.
+'btrfs-debug-tree' will return 0 if no error happened.
+If any problems happened, 1 will be returned.
+Written by Shilong Wang and Wenruo Qu.
+Copyright (C) 2013 FUJITSU LIMITED.
+License GPLv2: GNU GPL version 2 <>.
+This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.