btrfs-progs: docs: document new --repair --force behaviour

Signed-off-by: David Sterba <dsterba@suse.com>
master
David Sterba 2019-11-05 21:48:42 +01:00
parent e388bf386b
commit a999abb7e9
1 changed files with 7 additions and 0 deletions

View File

@ -98,6 +98,11 @@ DANGEROUS OPTIONS
--repair:: --repair::
enable the repair mode and attempt to fix problems where possible enable the repair mode and attempt to fix problems where possible
+
NOTE: there's a warning and 10 second delay when this option is run without
'--force' to give users a chance to think twice before running repair, the
warnings in documentation have shown to be insufficient
--init-csum-tree:: --init-csum-tree::
create a new checksum tree and recalculate checksums in all files create a new checksum tree and recalculate checksums in all files
+ +
@ -126,6 +131,8 @@ allow work on a mounted filesystem. Note that this should work fine on a
quiescent or read-only mounted filesystem but may crash if the device is quiescent or read-only mounted filesystem but may crash if the device is
changed externally, eg. by the kernel module. Repair without mount checks is changed externally, eg. by the kernel module. Repair without mount checks is
not supported right now. not supported right now.
+
This option skips the delay and warning in the repair mode (see '--repair')
EXIT STATUS EXIT STATUS
----------- -----------