mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-01 22:48:06 +00:00
btrfs-progs: doc: document btrfs-select-super(8)
Signed-off-by: Adam Borowski <kilobyte@angband.pl> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
11b81f475f
commit
13be89d82e
@ -9,6 +9,7 @@ MAN8_TXT += btrfs-find-root.asciidoc
|
|||||||
MAN8_TXT += btrfs-image.asciidoc
|
MAN8_TXT += btrfs-image.asciidoc
|
||||||
MAN8_TXT += btrfs-map-logical.asciidoc
|
MAN8_TXT += btrfs-map-logical.asciidoc
|
||||||
MAN8_TXT += btrfs-show-super.asciidoc
|
MAN8_TXT += btrfs-show-super.asciidoc
|
||||||
|
MAN8_TXT += btrfs-select-super.asciidoc
|
||||||
MAN8_TXT += btrfstune.asciidoc
|
MAN8_TXT += btrfstune.asciidoc
|
||||||
MAN8_TXT += fsck.btrfs.asciidoc
|
MAN8_TXT += fsck.btrfs.asciidoc
|
||||||
MAN8_TXT += mkfs.btrfs.asciidoc
|
MAN8_TXT += mkfs.btrfs.asciidoc
|
||||||
|
29
Documentation/btrfs-select-super.asciidoc
Normal file
29
Documentation/btrfs-select-super.asciidoc
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
btrfs-select-super(8)
|
||||||
|
=====================
|
||||||
|
|
||||||
|
NAME
|
||||||
|
----
|
||||||
|
btrfs-select-super - overwrite superblock with a backup
|
||||||
|
|
||||||
|
SYNOPSIS
|
||||||
|
--------
|
||||||
|
*btrfs-select-super* -s number dev
|
||||||
|
|
||||||
|
DESCRIPTION
|
||||||
|
-----------
|
||||||
|
*btrfs-select-super* destructively overwrites all copies of the superblock
|
||||||
|
with a specified copy. This helps with certain cases of damage, especially
|
||||||
|
when barriers were disabled during a power failure. You can find a valid
|
||||||
|
copy of the superblock with *btrfs check -s*.
|
||||||
|
|
||||||
|
The filesystem specified by `dev` must not be mounted.
|
||||||
|
|
||||||
|
OPTIONS
|
||||||
|
-------
|
||||||
|
-s|--super <superblock>::
|
||||||
|
use <superblock>th superblock copy, valid values are 0 up to 2 if the
|
||||||
|
respective superblock offset is within the filesystem
|
||||||
|
|
||||||
|
SEE ALSO
|
||||||
|
--------
|
||||||
|
`btrfsck check`(8)
|
Loading…
Reference in New Issue
Block a user