anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0534-man-add-an-explicit-description-of-_netdev-to-system.patch

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