]> err.no Git - systemd/commitdiff
man: properly document FsckPassNo= for mount units
authorLennart Poettering <lennart@poettering.net>
Wed, 23 May 2012 02:11:29 +0000 (04:11 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 23 May 2012 02:11:29 +0000 (04:11 +0200)
man/systemd.mount.xml
man/systemd.service.xml
src/core/load-fragment-gperf.gperf.m4

index ddaa3ce744f5b15da1237aa57789298f1bec9250..a1cc9dbf8da66ec67df093ee5f28a4a5c5293268 100644 (file)
                                 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>
 
                           <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>
index d5633dc3290a954fdc6759a2969ca46894b2d44a..11f98c34d6537b5ae08277fb7805f37ae48b909e 100644 (file)
                                 <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>
 
index 901c20e78e83d4ef8b67b494679f09be58b06643..ea502bd288ada20232bf24d7e819b86fdfe134a4 100644 (file)
@@ -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