summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man/auto.master.532
1 files changed, 27 insertions, 5 deletions
diff --git a/man/auto.master.5 b/man/auto.master.5
index a8ab889..339c8d1 100644
--- a/man/auto.master.5
+++ b/man/auto.master.5
@@ -32,13 +32,25 @@ The file has three fields separated by an arbitrary number of blanks or
tabs. Lines beginning with # are comments. The first field is the mount
point. Second field is the map file to be consulted for this mount-point.
This field is of the form
-.IR maptype:mapname ,
+.IR [maptype:]mapname ,
where
.I maptype
-is one of the supported map types (file, program, yp, nisplus, hesiod, userdir, ldap), and
+is one of the supported map types (file, program, yp, nisplus, hesiod,
+userhome, ldap), and
.I mapname
-is the name of the map. The third field is optional and can contain options to+ be applied to all entries in the map. Options are cumulative, which is a
+is the name of the map. If the map type is omitted, it will be
+guessed. The third field is optional and can contain options to be
+applied to all entries in the map. Options are cumulative, which is a
difference from the behavior of the SunOS automounter.
+.PP
+In addition, the maptype
+.I multi
+can be used to combine information from several maps. To use it, specify:
+.P
+\fBmulti\fP \fImaptype\fP \fImapname\fP [\fIoptions\fP] \fB\-\-\fP
+\fImaptype\fP \fImapname\fP [\fIoptions\fP] ...
+.P
+For each lookup
The format of the map file and the options are described in
.BR autofs (5).
@@ -50,14 +62,16 @@ The format of the map file and the options are described in
/home /etc/auto.home
/misc /etc/auto.misc
/nis yp:nis.map
+/multi multi file /etc/auto.home -- yp nis.map
.fi
.RE
.sp
-This will generate three mountpoints
+This will generate four mountpoints
.IR /home ,
.IR /misc ,
+.IR /nis ,
and
-.IR /nis .
+.IR /multi .
All accesses to
.I /home
will lead to the consultation of the map in
@@ -70,6 +84,14 @@ and all accesses to
.I /nis
will consult the NIS map
.IR nis.map .
+Finally, accesses to
+.I /multi
+will consult
+.I both
+the file
+.I /etc/auto.home
+and the NIS map
+.IR nis.map .
.SH "SEE ALSO"
.BR automount (8),
.BR autofs (5),