diff options
author | Alexander Fougner <fougner89@gmail.com> | 2016-02-24 11:52:34 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-03-14 13:42:47 +0100 |
commit | 2ae0b12df07d2d24720ba34e10994351e84a150f (patch) | |
tree | 38db7c80f179fdcc26912dd06f84a22676f1ff50 /Documentation | |
parent | eaa93e3b0295fc94c774ec73056559a6b8c78b42 (diff) |
btrfs-progs: update docs for inspect-internal dump-super
Signed-off-by: Alexander Fougner <fougner89@gmail.com>
[ minor formatting updates ]
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/btrfs-inspect-internal.asciidoc | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Documentation/btrfs-inspect-internal.asciidoc b/Documentation/btrfs-inspect-internal.asciidoc index 73c834cb..bbbbc597 100644 --- a/Documentation/btrfs-inspect-internal.asciidoc +++ b/Documentation/btrfs-inspect-internal.asciidoc @@ -87,6 +87,42 @@ subvolume itself return it's own tree id (ie. subvol id) NOTE: The result is undefined for the so-called empty subvolumes (identified by inode number 2), but such subvolume does not contain any files anyway +*show-super* [options] <device> [device...]:: +(needs root privileges) ++ +Show btrfs superblock information stored in devices. +It 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` ++ +-f:::: +Print full superblock information. ++ +Including the system chunk array and backup roots. ++ +-a:::: +Print information of all superblocks. ++ +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. ++ +-F:::: +Attempt to print the superblock even if no superblock magic is found. May end +badly. +-s <bytenr>:::: +specifiy offset to a superblock in a non-standard location at 'bytenr', useful +for debugging (disables the '-f' option) + *subvolid-resolve* <subvolid> <path>:: (needs root privileges) + |