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