NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering AutoFS
Chapter 2100
subdirectory it created. Directories will stay mounted until they are left
idle for five minutes. The five minute default can be changed by adding
the -t duration option to the AUTOMOUNT_OPTIONS variable in the
/etc/rc.config.d/nfsconf file.
For example, if server sage exports /opt and /apps, and a user on your
NFS client types the following command,
cd /net/sage/opt/frame
the subdirectory /sage is created under /net, and /opt and /apps are
mounted under /sage. Figure 2-11 shows the automounted file structure
after the user’s command.
Figure 2-11 Automounted Directories from -hosts Map—One Server
If server thyme exports the directory /exports/proj1, and a user types
the following command,
more /net/thyme/exports/proj1/readme
the subdirectory /thyme is created under /net, and /exports/proj1 is
mounted under /thyme. Figure 2-12 shows the automounted directory
structure after the second user’s command.
Figure 2-12 Automounted Directories from -hosts Map—Two Servers
/net
/sage
/opt /apps
/net
/sage
/opt /apps
/thyme
/exports
/proj1