NFS Services Administrator's Guide
Configuring and Administering AutoFS
Automounting a Remote Directory Using a Direct Map
Chapter 3118
If the direct map name in the master map begins with a slash (/), AutoFS
assumes that it is a local file. If it does not contain a slash, AutoFS uses
the Name Service Switch to determine whether it is a file, LDAP, or an
NIS map. For more information on using the name service switch, see
nsswitch.conf (4).
Sample File Entries for NFS Direct Automounts
Following are sample lines from the AutoFS master map on the NFS
client, sage:
# /etc/auto_master file
# local mount point map name mount options
/- /etc/auto_direct
Following are sample lines from an AutoFS direct map on the NFS client,
sage. The hash (#) symbol indicates a commented line.
# /etc/auto_direct file
# local mount point mount options remote server:directory
/auto/project/specs -nosuid thyme:/export/project/specs
/auto/project/budget -nosuid basil:/export/FY94/proj1
Figure 3-3 illustrates how AutoFS sets up direct mounts.