btrfs-progs: Fix self-reference of man btrfs-subvolume
[platform/upstream/btrfs-progs.git] / Documentation / btrfs-debug-tree.asciidoc
1 btrfs-debug-tree(8)
2 ===================
3
4 NAME
5 ----
6 btrfs-debug-tree - dump btrfs filesystem metadata into stdout
7
8 SYNOPSIS
9 --------
10 *btrfs-debug-tree* [options] <device>
11
12 DESCRIPTION
13 -----------
14 *btrfs-debug-tree* is used to dump the whole tree of the given device.
15
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.
19
20 OPTIONS
21 -------
22 -e::
23 Print detailed extents info.
24 -d::
25 Print info of btrfs device and root tree dirs only.
26 -r::
27 Print info of roots only.
28 -b <block_num>::
29 Print info of the specified block only.
30
31 EXIT STATUS
32 -----------
33 *btrfs-debug-tree* will return 0 if no error happened.
34 If any problems happened, 1 will be returned.
35
36 SEE ALSO
37 --------
38 `mkfs.btrfs`(8)