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