summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-05-21 17:24:26 +0200
committerLennart Poettering <lennart@poettering.net>2012-05-21 17:24:26 +0200
commit36140842612803d71fe771ce03f3dee7732284f0 (patch)
treeee17c25847c429c6c7686e8f8113e403f9eda767
parentf7f21d33db5dfe88dc8175c61dada44013347729 (diff)
service: make the fsck pass no configurable
-rw-r--r--man/systemd.service.xml9
-rw-r--r--src/core/load-fragment-gperf.gperf.m41
2 files changed, 10 insertions, 0 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 11f98c34d6..d5633dc329 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -835,6 +835,15 @@
<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 5be4daddee..681f2e9ae0 100644
--- a/src/core/load-fragment-gperf.gperf.m4
+++ b/src/core/load-fragment-gperf.gperf.m4
@@ -200,6 +200,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.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