NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 268
Figure 2-6 shows the difference between direct mounts and indirect
mounts on an NFS client.
Figure 2-6 The Difference Between Direct Mounts and Indirect Mounts
Attempting to read or write directly to the /tmp_mnt directory does not
cause the automounter to mount any directories that are not already
mounted. You must access the automounted directories through the
mount points you configured, which are symbolic links into the /tmp_mnt
directory.
To Mount a Remote Directory Using a Direct
Automounter Map
1. If you are using local files for your automounter maps, use an editor
to open or create a direct map in the /etc directory. The direct map
is commonly called /etc/auto_direct. Add a line to the direct map
with the following syntax:
local_directory [mount_options] server:remote_directory
If you are using NIS to manage your automounter maps, add the line
to the direct map on the NIS master server.
direct mounts
/
/tmp_mnt
configured
parent directory
actual
parent directory
= mounted directory
= symbolic link
/
/tmp_mnt
configured
parent directory
actual
parent directory
indirect mounts