diff options
author | H. Peter Anvin <hpa@zytor.com> | 2004-01-15 02:18:01 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2004-01-15 02:18:01 +0000 |
commit | b0ad595004667a1fa4c7d940740f65acce9a338a (patch) | |
tree | 807ed3430d2e8be8d70fcfd34b1a5a6dc2fcd662 | |
parent | b3a603c4db3fb5f3dfaf66f646475f52b2145b77 (diff) | |
download | autofs3-master.tar.gz autofs3-master.tar.xz autofs3-master.zip |
-rw-r--r-- | man/auto.master.5 | 32 |
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), |