3 btrfs-debug-tree \- dump Btrfs filesystem metadata into stdout.
5 .B btrfs-debug-tree [\fIoptions\fP] \fI<device>\fP
7 \fBbtrfs-debug-tree\fP is used to dump the whole tree of the given device.
8 This is maybe useful for analyzing filesystem state or inconsistence and has
9 a positive educational effect on understanding the internal structure.
10 \fIdevice\fP is the device file where the filesystem is stored.
14 print detailed extents info.
16 print info of btrfs device and root tree dirs only.
18 print info of roots only.
19 .IP "\fB-b \fI<block_num>\fP" 5
20 print info of the specified block only.
23 \fBbtrfs-debug-tree\fP will return 0 if no error happened.
24 If any problems happened, 1 will be returned.
27 Written by Shilong Wang and Wenruo Qu.
30 Copyright \(co 2013 FUJITSU LIMITED.
31 License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
33 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.