mirror of
https://git.proxmox.com/git/systemd
synced 2025-06-04 09:35:44 +00:00
63 lines
5.4 KiB
HTML
63 lines
5.4 KiB
HTML
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><title>systemd-fsck@.service</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><style>
|
|
a.headerlink {
|
|
color: #c60f0f;
|
|
font-size: 0.8em;
|
|
padding: 0 4px 0 4px;
|
|
text-decoration: none;
|
|
visibility: hidden;
|
|
}
|
|
|
|
a.headerlink:hover {
|
|
background-color: #c60f0f;
|
|
color: white;
|
|
}
|
|
|
|
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
|
|
visibility: visible;
|
|
}
|
|
</style><a href="index.html">Index </a>·
|
|
<a href="systemd.directives.html">Directives </a>·
|
|
<a href="../python-systemd/index.html">Python </a>·
|
|
<a href="../libudev/index.html">libudev </a>·
|
|
<a href="../libudev/index.html">gudev </a><span style="float:right">systemd 214</span><hr><div class="refentry"><a name="systemd-fsck@.service"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>systemd-fsck@.service, systemd-fsck-root.service, systemd-fsck — File system checker logic</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><p><code class="filename">systemd-fsck@.service</code></p><p><code class="filename">systemd-fsck-root.service</code></p><p><code class="filename">/usr/lib/systemd/systemd-fsck</code></p></div><div class="refsect1"><a name="idm214189485840"></a><h2 id="Description">Description<a class="headerlink" title="Permalink to this headline" href="#Description">¶</a></h2><p><code class="filename">systemd-fsck@.service</code> is a
|
|
service responsible for file system checks. It is
|
|
instantiated for each device that requires a file
|
|
system
|
|
check. <code class="filename">systemd-fsck-root.service</code> is
|
|
responsible for file system checks on the root
|
|
file system. The root file system check is performed
|
|
before the other file systems. Either service is enabled
|
|
at boot if passno in <code class="filename">/etc/fstab</code> for
|
|
the file system is set to a value greater than zero.</p><p><code class="filename">systemd-fsck</code> will
|
|
forward file system checking progress to the
|
|
console. If a file system check fails, emergency mode
|
|
is activated, by isolating to
|
|
<code class="filename">emergency.target</code>.</p></div><div class="refsect1"><a name="idm214193594368"></a><h2 id="Kernel Command Line">Kernel Command Line<a class="headerlink" title="Permalink to this headline" href="#Kernel%20Command%20Line">¶</a></h2><p><code class="filename">systemd-fsck</code> understands
|
|
one kernel command line parameter:</p><div class="variablelist"><dl class="variablelist"><dt id="fsck.mode="><span class="term"><code class="varname">fsck.mode=</code></span><a class="headerlink" title="Permalink to this term" href="#fsck.mode=">¶</a></dt><dd><p>One of
|
|
"<code class="literal">auto</code>",
|
|
"<code class="literal">force</code>",
|
|
"<code class="literal">skip</code>". Controls the
|
|
mode of operation. The default is
|
|
"<code class="literal">auto</code>", and ensures
|
|
that file system checks are done when
|
|
the file system checker deems them
|
|
necessary. "<code class="literal">force</code>"
|
|
unconditionally results in full file
|
|
system checks. "<code class="literal">skip</code>"
|
|
skips any file system
|
|
checks.</p></dd><dt id="fsck.repair="><span class="term"><code class="varname">fsck.repair=</code></span><a class="headerlink" title="Permalink to this term" href="#fsck.repair=">¶</a></dt><dd><p>One of
|
|
"<code class="literal">preen</code>",
|
|
"<code class="literal">yes</code>",
|
|
"<code class="literal">no</code>". Controls the
|
|
mode of operation. The default is "<code class="literal">
|
|
preen</code>", and will automatically repair
|
|
problems that can be safely fixed. "<code class="literal">yes
|
|
</code>" will answer yes to all questions by
|
|
fsck and "<code class="literal">no</code>" will answer no to
|
|
all questions.
|
|
</p></dd></dl></div></div><div class="refsect1"><a name="idm214189795280"></a><h2 id="See Also">See Also<a class="headerlink" title="Permalink to this headline" href="#See%20Also">¶</a></h2><p>
|
|
<a href="systemd.html"><span class="citerefentry"><span class="refentrytitle">systemd</span>(1)</span></a>,
|
|
<a href="fsck.html"><span class="citerefentry"><span class="refentrytitle">fsck</span>(8)</span></a>,
|
|
<a href="systemd-quotacheck.service.html"><span class="citerefentry"><span class="refentrytitle">systemd-quotacheck.service</span>(8)</span></a>
|
|
</p></div></div></body></html>
|