summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/systemd.mount.xml13
-rw-r--r--man/systemd.service.xml9
-rw-r--r--src/core/load-fragment-gperf.gperf.m42
3 files changed, 14 insertions, 10 deletions
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
index ddaa3ce744..a1cc9dbf8d 100644
--- a/man/systemd.mount.xml
+++ b/man/systemd.mount.xml
@@ -257,6 +257,18 @@
value. Defaults to "yes".
</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><varname>FsckPassNo=</varname></term>
+
+ <listitem><para>The pass number for
+ the file system checking service for
+ this mount. See
+ <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
+ for more information on this setting.
+ </para></listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>
@@ -267,6 +279,7 @@
<citerefentry><refentrytitle>systemctl</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
+ <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>systemd.device</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
<citerefentry><refentrytitle>mount</refentrytitle><manvolnum>8</manvolnum></citerefentry>
</para>
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index d5633dc329..11f98c34d6 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -835,15 +835,6 @@
<option>none</option>.</para></listitem>
</varlistentry>
- <varlistentry>
- <term><varname>FsckPassNo=</varname></term>
-
- <listitem><para>If this is an file
- system checking service specify the
- pass number. This should not be used
- for normal services.</para></listitem>
- </varlistentry>
-
</variablelist>
</refsect1>
diff --git a/src/core/load-fragment-gperf.gperf.m4 b/src/core/load-fragment-gperf.gperf.m4
index 901c20e78e..ea502bd288 100644
--- a/src/core/load-fragment-gperf.gperf.m4
+++ b/src/core/load-fragment-gperf.gperf.m4
@@ -201,7 +201,7 @@ Mount.What, config_parse_string, 0,
Mount.Where, config_parse_path, 0, offsetof(Mount, where)
Mount.Options, config_parse_string, 0, offsetof(Mount, parameters_fragment.options)
Mount.Type, config_parse_string, 0, offsetof(Mount, parameters_fragment.fstype)
-Mount.FsckPassNo, config_parse_int, 0, offsetof(Mount, parameters_fragment.passno)
+Mount.FsckPassNo, config_parse_fsck_passno, 0, offsetof(Mount, parameters_fragment.passno)
Mount.TimeoutSec, config_parse_usec, 0, offsetof(Mount, timeout_usec)
Mount.DirectoryMode, config_parse_mode, 0, offsetof(Mount, directory_mode)
EXEC_CONTEXT_CONFIG_ITEMS(Mount)m4_dnl