System information

increasingly better at handling the NSS configuration, it is still not complete. Autofs version
5, on the other hand, is a complete implementation.
Refer to man nsswi tch. co nf for more information on the supported syntax of this file. Not
all NSS databases are valid map sources and the parser will reject ones that are invalid.
Valid sources are files, yp, ni s, ni spl us, l d ap, and hesi o d .
Mult ip le mast er map en t ries per au t o f s mo u n t p o int
One thing that is frequently used but not yet mentioned is the handling of multiple master
map entries for the direct mount point /-. The map keys for each entry are merged and
behave as one map.
Examp le 9 .2. Mu lt iple mast er map en t ries p er aut of s mo u n t p o in t
An example is seen in the connectathon test maps for the direct mounts below:
/- /tmp/auto_dcthon
/- /tmp/auto_test3_direct
/- /tmp/auto_test4_direct
9.4 .2. auto fs Configurat ion
The primary configuration file for the automounter is /etc/auto .master, also referred to as the
master map which may be changed as described in the Section 9.4.1, “ Improvements in autofs
Version 5 over Version 4” . The master map lists auto fs-controlled mount points on the system, and
their corresponding configuration files or network sources known as automount maps. The format of
the master map is as follows:
mount-point map-name options
The variables used in this format are:
mount-point
The auto fs mount point, /ho me, for example.
map-name
The name of a map source which contains a list of mount points, and the file system
location from which those mount points should be mounted. The syntax for a map entry is
described below.
options
If supplied, these will apply to all entries in the given map provided they don't themselves
have options specified. This behavior is different from auto fs version 4 where options were
cumulative. This has been changed to implement mixed environment compatibility.
Examp le 9 .3. /etc/auto . master f ile
Red Hat Ent erprise Lin ux 6 St orage Admin ist rat io n G uide
56