NFS Services Administrator's Guide (B.11.31.02) January 2008

The AFS2 client uses a special map to automount the /export directory. The AFS2 client includes
an entry similar to the following in its map:
/net -host -nosuid, soft
The AFS2 client mounts the /export directory at the /net/Basil/export location.
Features
This section discusses the features that AutoFS supports on systems running HP-UX 11i v3.
On-Demand Mounting
In HP-UX 11i v3, the filesystems being accessed are mounted automatically. Filesystems that are
hierarchically related to the automounted filesystems are mounted only when necessary.
Consider the following scenario where the AutoFS master map, /etc/auto_master, and the
direct map, /etc/auto_direct, are on the NFS client, sage. Following are the contents of the
master map, the /etc/auto_master file, which contains a single direct map entry:
# /etc/auto_master file
# local mount-point map name mount options
/- /etc/auto_direct
Following are the contents of the direct map, /etc/auto_direct, which contains the local
mount-points on the client and the directory on the server:
# /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.
Features 57