6 btrfs-debug-tree - dump btrfs filesystem metadata into stdout
10 *btrfs-debug-tree* [options] <device>
14 *btrfs-debug-tree* is used to dump the whole tree of the given device.
16 This is maybe useful for analyzing filesystem state or inconsistence and has
17 a positive educational effect on understanding the internal structure.
18 <device> is the device file where the filesystem is stored.
23 Print detailed extents info.
25 Print info of btrfs device and root tree dirs only.
27 Print info of roots only.
29 Print info of the specified block only.
33 *btrfs-debug-tree* will return 0 if no error happened.
34 If any problems happened, 1 will be returned.
38 Written by Shilong Wang and Wenruo Qu.
42 Copyright (C) 2013 FUJITSU LIMITED.
44 License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
46 This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.