From 8fa331022f479dbeb489558e6d1241e7738dd1c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
Date: Wed, 16 Apr 2014 22:15:42 -0400
Subject: [PATCH 386/389] man: document relationship between RequiresMountsFor
and noauto
https://bugzilla.redhat.com/show_bug.cgi?id=1088057
(cherry picked from commit 5d2abc04fc95f5c5f6d0eaf2f9b06c70d504019f)
(cherry picked from commit b23daada46f67ae16bcf3686096dce186539f445)
---
man/systemd.unit.xml | 25 +++++++++++++++++++------
1 file changed, 19 insertions(+), 6 deletions(-)
diff --git a/man/systemd.unit.xml b/man/systemd.unit.xml
index 4704352..eb8b13d 100644
--- a/man/systemd.unit.xml
+++ b/man/systemd.unit.xml
@@ -675,13 +675,26 @@
<varlistentry>
<term><varname>RequiresMountsFor=</varname></term>
- <listitem><para>Takes a space-separated
- list of absolute paths. Automatically
- adds dependencies of type
- <varname>Requires=</varname> and
- <varname>After=</varname> for all
+ <listitem><para>Takes a
+ space-separated list of absolute
+ paths. Automatically adds dependencies
+ of type <varname>Requires=</varname>
+ and <varname>After=</varname> for all
mount units required to access the
- specified path.</para></listitem>
+ specified path.</para>
+
+ <para>Mount points marked with
+ <option>noauto</option> are not
+ mounted automatically and will be
+ ignored for the purposes of this
+ option. If such a mount should be a
+ requirement for this unit,
+ direct dependencies on the mount
+ units may be added
+ (<varname>Requires=</varname> and
+ <varname>After=</varname> or
+ some other combination).
+ </para></listitem>
</varlistentry>
<varlistentry>
--
1.8.3.1