diff options
author | David Sterba <dsterba@suse.com> | 2016-03-09 14:55:11 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2016-03-14 13:42:47 +0100 |
commit | 28d924290efd139b7c6c04452cc039b54cd50006 (patch) | |
tree | 3c1b4f37454031ff2716732c7578899282454680 | |
parent | d3257893d56f02eeb62d54d882c10d1420073f0a (diff) |
btrfs-progs: docs: update check options
Signed-off-by: David Sterba <dsterba@suse.com>
-rw-r--r-- | Documentation/btrfs-check.asciidoc | 12 | ||||
-rw-r--r-- | cmds-check.c | 2 |
2 files changed, 10 insertions, 4 deletions
diff --git a/Documentation/btrfs-check.asciidoc b/Documentation/btrfs-check.asciidoc index 327a45d6..7371a23c 100644 --- a/Documentation/btrfs-check.asciidoc +++ b/Documentation/btrfs-check.asciidoc @@ -25,8 +25,12 @@ 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 +-b|--backup:: +use the first backup roots stored in the superblock that is valid --repair:: try to repair the filesystem +--readonly:: +run in read-only mode (default) --init-csum-tree:: create a new CRC tree and recalculate all checksums --init-extent-tree:: @@ -37,10 +41,12 @@ verify checksums of data blocks indicate progress at various checking phases --qgroup-report:: verify qgroup accounting and compare against filesystem accounting ---subvol-extents <subvolid>:: -show extent state for a subvolume ---tree-root <bytenr>:: +-E|--subvol-extents <subvolid>:: +show extent state for the given subvolume +-r|--tree-root <bytenr>:: use the given bytenr for the tree root +--chunk-root <bytenr>:: +use the given bytenr for the chunk tree root EXIT STATUS ----------- diff --git a/cmds-check.c b/cmds-check.c index c7d3cec4..5add3cc0 100644 --- a/cmds-check.c +++ b/cmds-check.c @@ -9470,7 +9470,7 @@ const char * const cmd_check_usage[] = { "WARNING: the repair mode is considered dangerous", "", "-s|--super <superblock> use this superblock copy", - "-b|--backup use the backup root copy", + "-b|--backup use the first valid backup root copy", "--repair try to repair the filesystem", "--readonly run in read-only mode (default)", "--init-csum-tree create a new CRC tree", |