Btrfs-progs: fsck: add an option to check data csums
[platform/upstream/btrfs-progs.git] / Documentation / btrfs-debug-tree.txt
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 AUTHOR
37 ------
38 Written by Shilong Wang and Wenruo Qu.
39
40 COPYRIGHT
41 ---------
42 Copyright (C) 2013 FUJITSU LIMITED.
43
44 License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
45
46 This is free software: you are free  to  change  and  redistribute  it. There is NO WARRANTY, to the extent permitted by law.
47
48 SEE ALSO
49 --------
50 `mkfs.btrfs`(8)