NFS Services Administrator's Guide (5900-2134, March 2012)
Maps Overview
Maps define the mount-points that AutoFS will mount. Maps are available either locally or through
a distributed network Name Service, such as NIS or LDAP. AutoFS supports different types of maps.
Table 10 lists the different types of maps supported by AutoFS.
Table 10 Types of AutoFS Maps
DescriptionType of Map
A master list of maps, which associates a directory with a map. The automount
command reads the master map at system startup to create the initial set of AutoFS
mounts.
Master Map
A direct map is an entry in the AutoFS master map. In a direct map, there exists a direct
association between the mount-point on a client and a directory on the server.
Direct Map
An indirect map is an entry in the AutoFS master map. In an indirect map, there exists
an association between keys representing mount-points on the client and directories on
the server. A key is a representation of the first field of a map entry.
Indirect Map
An executable map is a map whose entries are generated dynamically by a program
or a script. Local maps that have the execute bit set in their file permissions will be
executed by the AutoFS daemon. A direct map cannot be made executable.
Executable Map
Special Maps are of two types namely, -hosts and -null.Special Map
An included map is a map that is included within another map. The entries of the
included map are read as if they are part of the existing map.
Included Map
Figure 7 (page 49) displays a sample AutoFS network.
Figure 7 AutoFS
In this figure, AFS1, AFS2, and Sage are AutoFS clients. Thyme and Basil are the NFS servers.
The NFS servers export directories. The AutoFS clients use maps to access the exported directories.
Maps Overview 49