]>
Commit | Line | Data |
---|---|---|
a32f224a LP |
1 | <?xml version="1.0"?> |
2 | <!--*-nxml-*--> | |
3 | <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"> | |
4 | <!-- | |
5 | This file is part of systemd. | |
6 | ||
7 | Copyright 2012 Lennart Poettering | |
8 | ||
9 | systemd is free software; you can redistribute it and/or modify it | |
10 | under the terms of the GNU Lesser General Public License as published by | |
11 | the Free Software Foundation; either version 2.1 of the License, or | |
12 | (at your option) any later version. | |
13 | ||
14 | systemd is distributed in the hope that it will be useful, but | |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
17 | Lesser General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU Lesser General Public License | |
20 | along with systemd; If not, see <http://www.gnu.org/licenses/>. | |
21 | --> | |
22 | <refentry id="systemd-fsck@.service"> | |
23 | ||
24 | <refentryinfo> | |
25 | <title>systemd-fsck@.service</title> | |
26 | <productname>systemd</productname> | |
27 | ||
28 | <authorgroup> | |
29 | <author> | |
30 | <contrib>Developer</contrib> | |
31 | <firstname>Lennart</firstname> | |
32 | <surname>Poettering</surname> | |
33 | <email>lennart@poettering.net</email> | |
34 | </author> | |
35 | </authorgroup> | |
36 | </refentryinfo> | |
37 | ||
38 | <refmeta> | |
39 | <refentrytitle>systemd-fsck@.service</refentrytitle> | |
40 | <manvolnum>8</manvolnum> | |
41 | </refmeta> | |
42 | ||
43 | <refnamediv> | |
44 | <refname>systemd-fsck@.service</refname> | |
45 | <refname>systemd-fsck-root.service</refname> | |
46 | <refname>systemd-fsck</refname> | |
47 | <refpurpose>File system checker logic</refpurpose> | |
48 | </refnamediv> | |
49 | ||
50 | <refsynopsisdiv> | |
51 | <para><filename>systemd-fsck@.service</filename></para> | |
52 | <para><filename>systemd-fsck-root.service</filename></para> | |
53 | <para><filename>/usr/lib/systemd/systemd-fsck</filename></para> | |
54 | </refsynopsisdiv> | |
55 | ||
56 | <refsect1> | |
57 | <title>Description</title> | |
58 | ||
59 | <para><filename>systemd-fsck@.service</filename> is a | |
60 | service responsible for file system checks. It is | |
61 | instantiated for each device that requires a file | |
62 | system | |
d0d6944c | 63 | check. <filename>systemd-fsck-root.service</filename> is |
a32f224a LP |
64 | responsible for file system checks on the root |
65 | file system.</para> | |
66 | ||
67 | <para><filename>systemd-fsck</filename> will | |
68 | forward file system checking progress to the | |
69 | console. If a file system check fails emergency mode | |
70 | is activated, by isolating to | |
71 | <filename>emergency.target</filename>.</para> | |
72 | </refsect1> | |
73 | ||
74 | <refsect1> | |
75 | <title>Kernel Command Line</title> | |
76 | ||
77 | <para><filename>systemd-fsck</filename> understands | |
78 | one kernel command line parameter:</para> | |
79 | ||
ccc9a4f9 | 80 | <variablelist class='kernel-commandline-options'> |
a32f224a LP |
81 | <varlistentry> |
82 | <term><varname>fsck.mode=</varname></term> | |
83 | ||
84 | <listitem><para>One of | |
85 | <literal>auto</literal>, | |
86 | <literal>force</literal>, | |
87 | <literal>skip</literal>. Controls the | |
88 | mode of operation. The default is | |
89 | <literal>auto</literal>, and ensures | |
90 | that file system checks are done when | |
91 | the file system checker deems them | |
92 | necessary. <literal>force</literal> | |
93 | unconditionally results in full file | |
94 | system checks. <literal>skip</literal> | |
95 | skips any file system | |
96 | checks.</para></listitem> | |
97 | </varlistentry> | |
98 | </variablelist> | |
99 | </refsect1> | |
100 | ||
101 | <refsect1> | |
102 | <title>See Also</title> | |
103 | <para> | |
104 | <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>, | |
105 | <citerefentry><refentrytitle>fsck</refentrytitle><manvolnum>8</manvolnum></citerefentry>, | |
106 | <citerefentry><refentrytitle>systemd-quotacheck.service</refentrytitle><manvolnum>8</manvolnum></citerefentry> | |
107 | </para> | |
108 | </refsect1> | |
109 | ||
110 | </refentry> |