NFS Services Administrator's Guide (B.11.31.03) August 2008
# /etc/auto_direct file
# local mount-point mount options remote server:directory
/auto/project/specs -nosuid thyme:/export/project/specs
/auto/project/specs/reqmnts -nosuid thyme:/export/projects/specs/reqmnts
/auto/project/specs/design -nosuid thyme:/export/projects/specs/design
A user on the NFS client, sage, enters the following command:
cd /auto/project/specs
Only the /auto/project/specs subdirectory is mounted. The /auto/project/
specs/design subdirectory is mounted only when it is accessed, for example by
using the following command:
cd /auto/project/specs/design
Figure 3-3 “Automounted Directories for On-Demand Mounting” illustrates the
automounted file structure after the user enters the command.
Figure 3-3 Automounted Directories for On-Demand Mounting
Browsability for Indirect Maps
AutoFS now enables you to view the potential mount-points for indirect maps without
mounting each filesystem.
Consider the following scenario where the AutoFS master map, /etc/auto_master,
and the indirect map, /etc/auto_indirect, are on the NFS client, sage. Following
are the contents of the master map, the /etc/auto_master file, which contains a
single indirect map entry:
# /etc/auto_master file
# local mount-point map name mount options
/nfs/desktop /etc/auto_indirect
72 Configuring and Administering AutoFS