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

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