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

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