145 lines
4.2 KiB
HTML
145 lines
4.2 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of <A HREF="mailto:SYSTEMD-FSCK@.SERVICE">SYSTEMD-FSCK@.SERVICE</A></TITLE>
|
|
</HEAD><BODY>
|
|
<H1><A HREF="mailto:SYSTEMD-FSCK@.SERVICE">SYSTEMD-FSCK@.SERVICE</A></H1>
|
|
Section: <A HREF="mailto:systemd-fsck@.service">systemd-fsck@.service</A> (8)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
<A HREF="mailto:systemd-fsck@.service">systemd-fsck@.service</A>, systemd-fsck-root.service, systemd-fsck - File system checker logic
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<P>
|
|
|
|
<A HREF="mailto:systemd-fsck@.service">systemd-fsck@.service</A>
|
|
<P>
|
|
|
|
systemd-fsck-root.service
|
|
<P>
|
|
|
|
/lib/systemd/systemd-fsck
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<A HREF="mailto:systemd-fsck@.service">systemd-fsck@.service</A>
|
|
and
|
|
systemd-fsck-root.service
|
|
are services responsible for file system checks. They are instantiated for each device that is configured for file system checking.
|
|
systemd-fsck-root.service
|
|
is responsible for file system checks on the root file system, but only if the root filesystem was not checked in the initramfs.
|
|
<A HREF="mailto:systemd-fsck@.service">systemd-fsck@.service</A>
|
|
is used for all other file systems and for the root file system in the initramfs.
|
|
<P>
|
|
|
|
These services are started at boot if
|
|
<B>passno</B>
|
|
in
|
|
/etc/fstab
|
|
for the file system is set to a value greater than zero. The file system check for root is performed before the other file systems. Other file systems may be checked in parallel, except when they are on the same rotating disk.
|
|
<P>
|
|
|
|
systemd-fsck
|
|
does not know any details about specific filesystems, and simply executes file system checkers specific to each filesystem type (/sbin/fsck.<I>type</I>). These checkers will decide if the filesystem should actually be checked based on the time since last check, number of mounts, unclean unmount, etc.
|
|
<P>
|
|
|
|
If a file system check fails for a service without
|
|
<B>nofail</B>, emergency mode is activated, by isolating to
|
|
emergency.target.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>KERNEL COMMAND LINE</H2>
|
|
|
|
<P>
|
|
|
|
systemd-fsck
|
|
understands these kernel command line parameters:
|
|
<P>
|
|
|
|
<I>fsck.mode=</I>
|
|
<DL COMPACT><DT id="1"><DD>
|
|
One of
|
|
"auto",
|
|
"force",
|
|
"skip". Controls the mode of operation. The default is
|
|
"auto", and ensures that file system checks are done when the file system checker deems them necessary.
|
|
"force"
|
|
unconditionally results in full file system checks.
|
|
"skip"
|
|
skips any file system checks.
|
|
</DL>
|
|
|
|
<P>
|
|
|
|
<I>fsck.repair=</I>
|
|
<DL COMPACT><DT id="2"><DD>
|
|
One of
|
|
"preen",
|
|
"yes",
|
|
"no". Controls the mode of operation. The default is
|
|
"preen", and will automatically repair problems that can be safely fixed.
|
|
"yes"
|
|
will answer yes to all questions by fsck and
|
|
"no"
|
|
will answer no to all questions.
|
|
</DL>
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<P>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?1+systemd">systemd</A></B>(1),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck">fsck</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+systemd-quotacheck.service">systemd-quotacheck.service</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.btrfs">fsck.btrfs</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.cramfs">fsck.cramfs</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.ext4">fsck.ext4</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.fat">fsck.fat</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.hfsplus">fsck.hfsplus</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.minix">fsck.minix</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.ntfs">fsck.ntfs</A></B>(8),
|
|
<B><A HREF="/cgi-bin/man/man2html?8+fsck.xfs">fsck.xfs</A></B>(8)
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="3"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="4"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="5"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="6"><A HREF="#lbAE">KERNEL COMMAND LINE</A><DD>
|
|
<DT id="7"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:16 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|