NFS Services Administrator's Guide

Configuring and Administering NFS
Configuring and Administering AutoFS
Chapter 2 123
where local_directory is the configured mount point in the
automounter map.
2. Type the following command to verify that the contents of the remote
directory have been mounted under the local mount point:
/usr/bin/ls
If the directory is configured in an indirect map, issuing the ls command
from the parent directory will display nothing. When you cd to a
subdirectory configured in the indirect map, or issue the command
ls subdirectory, the subdirectory will be mounted.
Therefore, if you have the following indirect map configuration,
# /etc/auto_master file
# local mount point map name mount options
/nfs/desktop /etc/auto_desktop
# /etc/auto_desktop file
# local mount point mount options remote
server:directory
draw -nosuid
thyme:/export/apps/draw
write -nosuid basil:/export/write
and you issue the following commands,
cd /nfs/desktop
ls
the ls command will produce no output, because the draw and write
subdirectories are not currently mounted. However, if you issue the
following commands,
cd /nfs/desktop/write
cd /nfs/desktop/draw
cd ..
ls
the ls command will display
draw write
If AutoFS is not mounting your configured directories, see
“Troubleshooting NFS Services” on page 287.