btrfs-progs: cleanup unused assignment for chunk-recover
[platform/upstream/btrfs-progs.git] / Documentation / btrfs-show-super.txt
1 btrfs-show-super(8)
2 ====================
3
4 NAME
5 ----
6 btrfs-show-super - show btrfs superblock information stored in devices
7
8 SYNOPSIS
9 --------
10 *btrfs-show-super* [options] <dev> [<dev>...]
11
12 DESCRIPTION
13 -----------
14 *btrfs-show-super* is used to print the information of superblock,
15 you can specify which mirror to print out.
16
17 By default, every device's first superblock will be printed out.
18
19 Mainly used for debug purpose.
20
21 OPTIONS
22 -------
23 -f::
24 Print full superblock information.
25 +
26 Including the system chunk array and backup roots.
27
28 -a::
29 Print information of all superblocks.
30 +
31 If this option is given, '-i' option will be ignored.
32
33 -i <super_mirror>::
34 Specify which mirror to print out.
35 +
36 <super_mirror> is between 0 and 2.
37 If several '-i <super_mirror>' are given, only the last one is valid.
38
39 -F::
40 Attempt to print the superblock even if no superblock magic is found.  May end
41 badly.
42
43 EXIT STATUS
44 -----------
45 *btrfs-show-super* will return 0 if no error happened.
46 If any problems happened, 1 will be returned.
47
48 AUTHOR
49 ------
50 Written by Shilong Wang and Wenruo Qu.
51
52 COPYRIGHT
53 ---------
54 Copyright (C) 2013 FUJITSU LIMITED.
55
56 License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>.
57
58 This is free software: you are free  to  change  and  redistribute  it. There is NO WARRANTY, to the extent permitted by law.
59
60 SEE ALSO
61 --------
62 `mkfs.btrfs`(8)