X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Documentation%2Fbup-fsck.md;h=aa00f0bec1c11746d1bb257c3b3b248ad6b542c9;hb=6b6559e405d264d4127211b935b21a3dda93ad93;hp=da3cfc5b26c20e256e93ed8541e9c44b8c3b1148;hpb=8f7bd67638e5ca99d4eccb382e5c759944aa7ab8;p=bup.git diff --git a/Documentation/bup-fsck.md b/Documentation/bup-fsck.md index da3cfc5..aa00f0b 100644 --- a/Documentation/bup-fsck.md +++ b/Documentation/bup-fsck.md @@ -8,8 +8,8 @@ bup-fsck - verify or repair a bup repository # SYNOPSIS -bup fsck [-r] [-g] [-v] [--quick] [-j *jobs*] [--par2-ok] -[--disable-par2] [filenames...] +bup fsck [-r] [-g] [-v] [\--quick] [-j *jobs*] [\--par2-ok] +[\--disable-par2] [filenames...] # DESCRIPTION @@ -44,18 +44,18 @@ site redundancy). # OPTIONS --r, --repair +-r, \--repair : attempt to repair any damaged packs using existing recovery blocks. (Requires `par2`(1).) --g, --generate +-g, \--generate : generate recovery blocks for any packs that don't already have them. (Requires `par2`(1).) --v, --verbose +-v, \--verbose : increase verbosity (can be used more than once). ---quick +\--quick : don't run a full `git verify-pack` on each pack file; instead just check the final checksum. This can cause a significant speedup with no obvious decrease in @@ -63,7 +63,7 @@ site redundancy). option if you're paranoid. Has no effect on packs that already have recovery information. --j, --jobs=*numjobs* +-j, \--jobs=*numjobs* : maximum number of pack verifications to run at a time. The optimal value for this option depends how fast your CPU can verify packs vs. your disk throughput. If you @@ -73,18 +73,17 @@ site redundancy). the number of CPU cores on your system. You can experiment with this option to find the optimal value. ---par2-ok +\--par2-ok : immediately return 0 if `par2`(1) is installed and working, or 1 otherwise. Do not actually check anything. ---disable-par2 +\--disable-par2 : pretend that `par2`(1) is not installed, and ignore all recovery blocks. -# EXAMPLE - +# EXAMPLES # generate recovery blocks for all packs that don't # have them bup fsck -g