btrfs-progs: show-super: Add option to print superblock at given bytenr
authorQu Wenruo <quwenruo@cn.fujitsu.com>
Mon, 2 Nov 2015 08:34:19 +0000 (16:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 2 Nov 2015 14:45:52 +0000 (15:45 +0100)
commitc328e0db4a6759941d6c44e08aa78e5b1cd16bef
tree07193928228adfba7cfdbe01027d21e42aff31b3
parentb1c222321e096f1dd1284699d9366b10cbfcb636
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>
Documentation/btrfs-show-super.asciidoc
btrfs-show-super.c