Blame SOURCES/autofs-5.1.7-add-missing-description-of-null-map-option.patch

9a499a
autofs-5.1.7 - add missing desciption of null map option
9a499a
9a499a
From: Ian Kent <raven@themaw.net>
9a499a
9a499a
The description of how the -null master map option behaves is
9a499a
mising from auto.master(5).
9a499a
9a499a
Signed-off-by: Ian Kent <raven@themaw.net>
9a499a
---
9a499a
 CHANGELOG            |    1 +
9a499a
 man/auto.master.5.in |   19 +++++++++++++++++++
9a499a
 2 files changed, 20 insertions(+)
9a499a
9a499a
--- autofs-5.1.4.orig/CHANGELOG
9a499a
+++ autofs-5.1.4/CHANGELOG
9a499a
@@ -74,6 +74,7 @@
9a499a
 - fix hosts map offset order.
9a499a
 - fix direct mount deadlock.
9a499a
 - fix lookup_prune_one_cache() refactoring change.
9a499a
+- add missing description of null map option.
9a499a
 
9a499a
 xx/xx/2018 autofs-5.1.5
9a499a
 - fix flag file permission.
9a499a
--- autofs-5.1.4.orig/man/auto.master.5.in
9a499a
+++ autofs-5.1.4/man/auto.master.5.in
9a499a
@@ -263,6 +263,25 @@ accessing /net/myserver will mount expor
9a499a
 NOTE: mounts done from a hosts map will be mounted with the "nosuid,nodev,intr" options
9a499a
 unless overridden by explicitly specifying the "suid", "dev" or "nointr" options in the
9a499a
 master map entry.
9a499a
+.SH BUILTIN MAP \-null
9a499a
+If "\-null" is given as the map it is used to tell automount(8) to ignore a subsequent
9a499a
+master map entry with the given path.
9a499a
+.P
9a499a
+It can only be used for paths that appear in the master map (or in direct mount maps).
9a499a
+.P
9a499a
+An indirect mount map top level mount point path can be nulled. If so no mounts from
9a499a
+the nulled mount are performed (essentially it isn't mounted).
9a499a
+.P
9a499a
+Direct mount map path entries can be nulled. Since they must be present at startup
9a499a
+they are (notionally) part of the master map.
9a499a
+.P
9a499a
+A nulled master map entry path will ignore a single subsequent matching entry. Any
9a499a
+matching entry following that will be treated as it normally would be. An example
9a499a
+use of this is allowing local master map entries to override remote ones.
9a499a
+.P
9a499a
+NOTE: If a duplicate master map entry path is seen (excluding paths of null entries)
9a499a
+it will be ignored and noted in the log, that is the first encountered master map
9a499a
+entry is used unless there is a corresponding null entry.
9a499a
 .SH LDAP MAPS
9a499a
 If the map type \fBldap\fP is specified the mapname is of the form
9a499a
 \fB[//servername/]dn\fP, where the optional \fBservername\fP is