NFS Services Administrator's Guide
Configuring and Administering AutoFS
How AutoFS Works
Chapter 3104
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/designs subdirectory is mounted only when
accessed using the following command:
cd /auto/project/specs/designs
Figure 3-1 shows the automounted file structure after the user runs the
command.
Figure 3-1 Automounted Directories for On-Demand Mounting
Browsability for Indirect Maps
AutoFS now allows you to view the potential mount points for indirect
maps, without mounting each filesystem.
In the following example, the AutoFS master and indirect maps are on
the NFS client, sage:
# /etc/auto_master file
# local mount point map name mount options
/nfs/desktop /etc/auto_indirect
/
/auto
/project
NFS Client sage
On-Demand Mounting
/specs
/reqmnts /designs
/
/export
/project
NFS Server thyme
/specs
/reqmnts /designs