mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-01 22:48:06 +00:00
btrfs-progs: check: reorder options to sections
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
21d1109168
commit
4dca0ccf3d
50
check/main.c
50
check/main.c
@ -9450,29 +9450,35 @@ const char * const cmd_check_usage[] = {
|
|||||||
"Check structural integrity of an unmounted filesystem. Verify internal",
|
"Check structural integrity of an unmounted filesystem. Verify internal",
|
||||||
"trees' consistency and item connectivity. In the repair mode try to",
|
"trees' consistency and item connectivity. In the repair mode try to",
|
||||||
"fix the problems found. ",
|
"fix the problems found. ",
|
||||||
"WARNING: the repair mode is considered dangerous",
|
"WARNING: the repair mode is considered dangerous and should not be used",
|
||||||
|
" without prior analysis of problems found on the flesystem."
|
||||||
"",
|
"",
|
||||||
"-s|--super <superblock> use this superblock copy",
|
"Options:",
|
||||||
"-b|--backup use the first valid backup root copy",
|
" starting point selection:",
|
||||||
"--force skip mount checks, repair is not possible",
|
" -s|--super <superblock> use this superblock copy",
|
||||||
"--repair try to repair the filesystem",
|
" -b|--backup use the first valid backup root copy",
|
||||||
"--readonly run in read-only mode (default)",
|
" -r|--tree-root <bytenr> use the given bytenr for the tree root",
|
||||||
"--init-csum-tree create a new CRC tree",
|
" --chunk-root <bytenr> use the given bytenr for the chunk tree root",
|
||||||
"--init-extent-tree create a new extent tree",
|
" operation modes:",
|
||||||
"--mode <MODE> allows choice of memory/IO trade-offs",
|
" --readonly run in read-only mode (default)",
|
||||||
" where MODE is one of:",
|
" --repair try to repair the filesystem",
|
||||||
" original - read inodes and extents to memory (requires",
|
" --force skip mount checks, repair is not possible",
|
||||||
" more memory, does less IO)",
|
" --mode <MODE> allows choice of memory/IO trade-offs",
|
||||||
" lowmem - try to use less memory but read blocks again",
|
" where MODE is one of:",
|
||||||
" when needed (experimental)",
|
" original - read inodes and extents to memory (requires",
|
||||||
"--check-data-csum verify checksums of data blocks",
|
" more memory, does less IO)",
|
||||||
"-Q|--qgroup-report print a report on qgroup consistency",
|
" lowmem - try to use less memory but read blocks again",
|
||||||
"-E|--subvol-extents <subvolid>",
|
" when needed (experimental)",
|
||||||
" print subvolume extents and sharing state",
|
" repair options:",
|
||||||
"-r|--tree-root <bytenr> use the given bytenr for the tree root",
|
" --init-csum-tree create a new CRC tree",
|
||||||
"--chunk-root <bytenr> use the given bytenr for the chunk tree root",
|
" --init-extent-tree create a new extent tree",
|
||||||
"-p|--progress indicate progress",
|
" --clear-space-cache v1|v2 clear space cache for v1 or v2",
|
||||||
"--clear-space-cache v1|v2 clear space cache for v1 or v2",
|
" check and reporting options:",
|
||||||
|
" --check-data-csum verify checksums of data blocks",
|
||||||
|
" -Q|--qgroup-report print a report on qgroup consistency",
|
||||||
|
" -E|--subvol-extents <subvolid>",
|
||||||
|
" print subvolume extents and sharing state",
|
||||||
|
" -p|--progress indicate progress",
|
||||||
NULL
|
NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user