diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2014-04-02 16:29:33 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-04-22 14:15:23 +0200 |
commit | d28ca3ab173b78ad428d5e053e15b43649721948 (patch) | |
tree | 341e24fe74c7aeb759efbe3359949fda880abdbf /Documentation | |
parent | 3d1aeaf1ab322b86b1c4aa2d2dbeedde75798a08 (diff) |
btrfs-progs: Convert man page for btrfs-show-super.
Convert man page for btrfs-show-super.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/Makefile | 2 | ||||
-rw-r--r-- | Documentation/btrfs-show-super.txt | 53 |
2 files changed, 54 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile index f8804516..617a47d6 100644 --- a/Documentation/Makefile +++ b/Documentation/Makefile @@ -8,7 +8,7 @@ MAN8_TXT += btrfs-debug-tree.txt MAN8_TXT += btrfs-find-root.txt MAN8_TXT += btrfs-image.txt MAN8_TXT += btrfs-map-logical.txt -#MAN8_TXT += btrfs-show-super.txt +MAN8_TXT += btrfs-show-super.txt #MAN8_TXT += btrfstune.txt #MAN8_TXT += btrfs-zero-log.txt #MAN8_TXT += fsck.btrfs.txt diff --git a/Documentation/btrfs-show-super.txt b/Documentation/btrfs-show-super.txt new file mode 100644 index 00000000..e8e17abc --- /dev/null +++ b/Documentation/btrfs-show-super.txt @@ -0,0 +1,53 @@ +btrfs-show-super(8) +==================== + +NAME +---- +btrfs-show-super - show btrfs superblock information stored in devices + +SYNOPSIS +-------- +'btrfs-show-super' [options] <dev> [<dev>...] + +DESCRIPTION +----------- +'btrfs-show-super' is used to print the information of superblock, +you can specify which mirror to print out. + +By default, every device's first superblock will be printed out. + +Mainly used for debug purpose. + +OPTIONS +------- +-a:: +Print all the superblock information. ++ +If this option is given, '-i' option will be ignored. + +-i <super_mirror>:: +Specify which mirror to print out. ++ +<super_mirror> is between 0 and 2. +If several '-i <super_mirror>' are given, only the last one is valid. + +EXIT STATUS +----------- +'btrfs-show-super' will return 0 if no error happened. +If any problems happened, 1 will be returned. + +AUTHOR +------ +Written by Shilong Wang and Wenruo Qu. + +COPYRIGHT +--------- +Copyright (C) 2013 FUJITSU LIMITED. + +License GPLv2: GNU GPL version 2 <http://gnu.org/licenses/gpl.html>. + +This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. + +SEE ALSO +-------- +`mkfs.btrfs`(8) |