Installation guide
Chapter 10. Network File System (NFS)
62
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
10.3.2. autofs Configuration
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 10.3.1, “Improvements in autofs
Version 5 over Version 4”. The master map lists autofs-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 autofs mount point e.g /home.
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 autofs version 4 where options where
cumulative. This has been changed to implement mixed environment compatibility.
The following is a sample line from /etc/auto.master file (displayed with cat /etc/
auto.master):
/home /etc/auto.misc
The general format of maps is similar to the master map, however the "options" appear between the
mount point and the location instead of at the end of the entry as in the master map:
mount-point [options] location
The variables used in this format are:
mount-point
This refers to the autofs mount point. This can be a single directory name for an indirect mount
or the full path of the mount point for direct mounts. Each direct and indirect map entry key
(mount-point above) may be followed by a space separated list of offset directories (sub
directory names each beginning with a "/") making them what is known as a mutli-mount entry.
options
Whenever supplied, these are the mount options for the map entries that do not specify their own
options.