summaryrefslogtreecommitdiff
path: root/Documentation/btrfs-show-super.asciidoc
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-11-02 16:34:19 +0800
committerDavid Sterba <dsterba@suse.com>2015-11-02 15:45:52 +0100
commitc328e0db4a6759941d6c44e08aa78e5b1cd16bef (patch)
tree07193928228adfba7cfdbe01027d21e42aff31b3 /Documentation/btrfs-show-super.asciidoc
parentb1c222321e096f1dd1284699d9366b10cbfcb636 (diff)
btrfs-progs: show-super: Add option to print superblock at given bytenr
Add '-s <sb_bytenr>' option to show superblock at given bytenr. This is very useful to debug non-standard btrfs, like debuging the 1st stage btrfs of btrfs-convert. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> [ minor updates in docs ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'Documentation/btrfs-show-super.asciidoc')
-rw-r--r--Documentation/btrfs-show-super.asciidoc4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/btrfs-show-super.asciidoc b/Documentation/btrfs-show-super.asciidoc
index 1646be3b..8866c940 100644
--- a/Documentation/btrfs-show-super.asciidoc
+++ b/Documentation/btrfs-show-super.asciidoc
@@ -40,6 +40,10 @@ If several '-i <super_mirror>' are given, only the last one is valid.
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)
+
EXIT STATUS
-----------
*btrfs-show-super* will return 0 if no error happened.