NFS Services Administrator's Guide
Configuring and Administering NFS
Configuring and Administering the NFS Automounter
Chapter 2 91
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 the automounter is not mounting your configured directories, see
“Troubleshooting NFS Services” on page 287.
To Modify or Remove (Unmount) an Automounted
Directory
1. Use an editor to make your changes to the direct or indirect map.
2. If you removed the last entry in the direct or indirect map, remove
the line for that map in the automounter master map.