Hi, doing some experimental work, I realised that in order to use a NIS map in /etc/auto.master, I had to use the "yp" prefix. => I did document this and modified the auto.master.5 a bit Tobias -- This above all: To thine own self be true / And it must follow as the night the day / Thou canst not then be false to any man.
--- auto.master.5.old Fri Aug 31 01:36:17 2001 +++ auto.master.5 Fri Aug 31 02:02:43 2001 @@ -13,20 +13,38 @@ describing the file systems to be mounted under this mountpoint. The access to those maps is governed by a key. .P -Access to an automounted file system is customarily done using the path scheme: +An individual automount map is either local or served by NIS. A system, +however, can use both local and NIS automounted map. .P -.RI / mountpoint / key / path / file , +Conventionally, +.B automount +maps are files that are located in the +.B /etc +directory with names that have the prefix +.B auto. +They indicate which remote file systems to mount, where to mount them, and +which options to use. .P -where the -.I mountpoint -will be listed in the -.B auto.master -configuration file. The -.I key -is matched in the map file pointed to by the -master map (See +Each line in the master map has the following syntax: +.P +.I directory\ map\ [-mount-options] +.P +.SS directory +Specifies the full pathname of a local directory. +.SS "map" +Name of the map that +.B "automount" +uses to find the mountpoints and locations. This can be either a local file +name or a NIS map name. In order to access a NIS map from the local +auto master you need to add a +.I yp +before the map. (See .BR autofs (5)). -The path and the file are referring to the file on the file system mounted. +.SS mount-options +Specifies the mount options to be applied to all of the directories +listed in map. If mount options are listed in the specified map, they +take precedence over these options. + .SH "FORMAT" 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
