Enhanced AutoFS Administrator's Guide, September 2005

Configuring and Administering AutoFS
Mounting a Remote Directory
Chapter 338
The following example contains 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
Figure 3-6 illustrates how AutoFS sets up the direct mounts for this
configuration.
Figure 3-6 Example of Direct Mounts
Using an Indirect AutoFS Map
To mount a remote directory using an indirect AutoFS map, perform the
following steps:
1. If you are using local files for your AutoFS maps, use an editor to
open or create an indirect map in the /etc directory. Add a line with
the following syntax to the indirect map:
local_subdirectory
[
mount_options
]
server
:
remote_directory
/
/auto
/project
/budget
/
/export
/FY94
NFS server "basil"
NFS client "sage"
NFS mounts
/targets /ytd
/specs
/reqmnts /designs
/proj1
/
/export
/project
NFS server "thyme"
/specs
/reqmnts /designs
/targets /ytd