diff options
Diffstat (limited to 'man/fsck.btrfs.8.in')
-rw-r--r-- | man/fsck.btrfs.8.in | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/man/fsck.btrfs.8.in b/man/fsck.btrfs.8.in new file mode 100644 index 00000000..eb21c89f --- /dev/null +++ b/man/fsck.btrfs.8.in @@ -0,0 +1,47 @@ +.TH fsck.btrfs 8 +.SH NAME +fsck.btrfs \- do nothing, successfully +.SH SYNOPSIS +.B fsck.btrfs +[\fB-aApy\fP] +[\fBdevice...\fP] +.SH DESCRIPTION +.B fsck.btrfs +is a type of utility that should exist for any filesystem and is +called during system setup when the corresponding +.BR /etc/fstab +entries contain non-zero value for +.BR fs_passno +, see +.BR fstab(5) +for more. +.PP +Traditional filesystems need to run their respective fsck utility in case the +filesystem was not unmounted cleanly and the log needs to be replayed before +mount. This is not needed for BTRFS. You should set fs_passno to 0. +.PP +If you wish to check the consistency of a BTRFS filesystem or repair a damaged +filesystem, see +.BR btrfs(8) +subcommand 'check'. By default the filesystem +consistency is checked, the repair mode is enabled via --repair option (use +with care!). +.SH OPTIONS +The options detect if \fBfsck.btrfs\fP is executed in non-interactive mode and exits +with success, otherwise prints a message about \fBbtrfs check\fP. +.SH EXIT CODE +There are two possible exit code returned: +.RS +.IP 0 5 +No errors +.IP 8 5 +Operational error, eg. device does not exist +.RE +. +.SH FILES +.IR /etc/fstab . +.SH SEE ALSO +.BR btrfs (8), +.BR fsck (8), +.BR fstab (5), +.\" btrfsck is intentionally left out |