]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/systemd.mount: tmpfs automatically gains After=swap.target dep 30284/head
authorMike Yuan <me@yhndnzj.com>
Thu, 7 Dec 2023 10:22:23 +0000 (18:22 +0800)
committerMike Yuan <me@yhndnzj.com>
Mon, 11 Dec 2023 16:34:32 +0000 (00:34 +0800)
man/systemd.mount.xml

index b8d4f372810aa02ae610c867f7460bcc84cab80c..5573f8b2c4f7d3f0898da654ad015686da148c91 100644 (file)
         an <varname>After=</varname> dependency on <filename>local-fs-pre.target</filename>, and a
         <varname>Before=</varname> dependency on <filename>local-fs.target</filename> unless one or more
         mount options among <option>nofail</option>, <option>x-systemd.wanted-by=</option>,
-        and <option>x-systemd.required-by=</option> is set. See below for detailed information.
-        </para></listitem>
+        and <option>x-systemd.required-by=</option> is set. See below for detailed information.</para>
+
+        <para>Additionally, an <varname>After=</varname> dependency on <filename>swap.target</filename>
+        is added when the file system type is <literal>tmpfs</literal>.</para>
+        </listitem>
 
         <listitem><para>Network mount units automatically acquire <varname>After=</varname> dependencies on
         <filename>remote-fs-pre.target</filename>, <filename>network.target</filename>,