mirror of
https://github.com/kdave/btrfs-progs
synced 2024-12-16 19:35:38 +00:00
fd518cfcb1
If we point btrfs-show-super at a not-btrfs-device and try to print all superblocks, bad things are apt to happen: superblock: bytenr=274877906944, device=/dev/sdc2 --------------------------------------------------------- btrfs-show-super: ctree.h:1984: btrfs_super_csum_size: \ Assertion `!(t >= (sizeof(btrfs_csum_sizes) / sizeof((btrfs_csum_sizes)[0])))' failed. csum 0xAborted Don't try to print superblocks that don't look like superblocks, and add an "-f" (force) option to try anyway, if the user really wants to give it a shot. Fix some spelling & capitalization while we're at it. The manpage says that if any problem happens, 1 will be returned, but that's already not true today LOL, so I didn't bother to make it true when we detect bad sb magic, either... I figure it's worth continuing and trying all superblocks in case just one has a corrupt magic. Signed-off-by: Eric Sandeen <sandeen@redhat.com> [renamed -f to -F due to clash with existing option, converted relevant docs to asciidoc] Signed-off-by: David Sterba <dsterba@suse.cz> |
||
---|---|---|
.. | ||
asciidoc.conf | ||
btrfs-balance.txt | ||
btrfs-check.txt | ||
btrfs-convert.txt | ||
btrfs-debug-tree.txt | ||
btrfs-device.txt | ||
btrfs-filesystem.txt | ||
btrfs-find-root.txt | ||
btrfs-image.txt | ||
btrfs-inspect-internal.txt | ||
btrfs-map-logical.txt | ||
btrfs-property.txt | ||
btrfs-qgroup.txt | ||
btrfs-quota.txt | ||
btrfs-receive.txt | ||
btrfs-replace.txt | ||
btrfs-rescue.txt | ||
btrfs-restore.txt | ||
btrfs-scrub.txt | ||
btrfs-send.txt | ||
btrfs-show-super.txt | ||
btrfs-subvolume.txt | ||
btrfs-zero-log.txt | ||
btrfs.txt | ||
btrfstune.txt | ||
fsck.btrfs.txt | ||
Makefile | ||
manpage-base.xsl | ||
manpage-bold-literal.xsl | ||
manpage-normal.xsl | ||
mkfs.btrfs.txt |