ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
dd65c9
From eb628c9f0ec9dcaec41dadc7ff594c8420b78a71 Mon Sep 17 00:00:00 2001
dd65c9
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
dd65c9
Date: Tue, 5 Sep 2017 11:20:14 +0200
dd65c9
Subject: [PATCH] man: add an explicit description of _netdev to
dd65c9
 systemd.mount(5)
dd65c9
dd65c9
It was mentioned in passing, but having it in the list of options is also
dd65c9
nice.
dd65c9
dd65c9
Cherry-picked from: 0f00528db4e941503ec8cb5052367b17a8b566ba
dd65c9
Resolves: #1384014
dd65c9
---
dd65c9
 man/systemd.mount.xml | 15 +++++++++++++++
dd65c9
 1 file changed, 15 insertions(+)
dd65c9
dd65c9
diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml
dd65c9
index 04ed1e1cf..dfa437b5d 100644
dd65c9
--- a/man/systemd.mount.xml
dd65c9
+++ b/man/systemd.mount.xml
dd65c9
@@ -202,6 +202,21 @@
dd65c9
         setting in a unit file.</para>
dd65c9
         </listitem>
dd65c9
       </varlistentry>
dd65c9
+      <varlistentry>
dd65c9
+        <term><option>_netdev</option></term>
dd65c9
+
dd65c9
+        <listitem><para>Normally the file system type is used to determine if a
dd65c9
+        mount is a "network mount", i.e. if it should only be started after the
dd65c9
+        network is available. Using this option overrides this detection and
dd65c9
+        specifies that the mount requires network.</para>
dd65c9
+
dd65c9
+        <para>Network mount units are ordered between <filename>remote-fs-pre.target</filename>
dd65c9
+        and <filename>remote-fs.target</filename>, instead of
dd65c9
+        <filename>local-fs-pre.target</filename> and <filename>local-fs.target</filename>.
dd65c9
+        They also pull in <filename>network-online.target</filename> and are ordered after
dd65c9
+        it and <filename>network.target</filename>.</para>
dd65c9
+        </listitem>
dd65c9
+      </varlistentry>
dd65c9
 
dd65c9
       <varlistentry>
dd65c9
         <term><option>noauto</option></term>