From btrfs Wiki
(Difference between revisions)
Jump to: navigation, search
(Update from git, v5.14.2)
(remove content)
Line 1: Line 1:
=fsck.btrfs(8) manual page=
fsck.btrfs - do nothing, successfully
<p><b>fsck.btrfs</b> [-aApy] [<em>&lt;device&gt;</em>&#8230;]</p>
<p><b>fsck.btrfs</b> is a type of utility that should exist for any filesystem and is
called during system setup when the corresponding <tt>/etc/fstab</tt> entries
contain non-zero value for <tt>fs_passno</tt>, see [ fstab(5)] for more.</p>
<p>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.</p>
<p>If you wish to check the consistency of a BTRFS filesystem or repair a damaged
filesystem, see [[Manpage/btrfs-check|btrfs-check(8)]]. By default filesystem consistency is checked,
the repair mode is enabled via the <em>--repair</em> option (use with care!).</p>
<p>The options are all the same and detect if <b>fsck.btrfs</b> is executed in
non-interactive mode and exits with success,
otherwise prints a message about btrfs check.</p>
<p>There are two possible exit codes returned:</p>
No error
Operational error, eg. device does not exist
[ fsck(8)],
[ fstab(5)]</p>

Latest revision as of 12:34, 12 January 2022

Note: manual pages are located at read-the-docs site, please update your links.

Personal tools