NFS Services Administrator's Guide
Configuring and Administering AutoFS
Automounting All Exported Directories from Any Host Using the -hosts Map
Chapter 3128
For example, the following entry from a map mounts the source code and
the data files for a project whenever anyone requests access to both of
them. They are mounted for on-demand mounting. The subdirectory
/thyme is created under /net, and /exports/proj1 is mounted under
/thyme.
Figure 3-7 shows the automounted directory structure after the user
enters the second command.
Figure 3-7 Automounted Directories from the -hosts Map—Two Servers
/net
/sage
/opt
/thyme
/exports
/proj1