Enhanced AutoFS Administrator's Guide
Configuring and Administering AutoFS
Verifying the AutoFS Configuration
Chapter 360
Verifying the AutoFS Configuration
To verify that AutoFS has been configured correctly, perform the
following steps:
1. To change the current working directory to an automounted
directory, issue the following command:
/usr/bin/cd
local_directory
In the preceding command,
local_directory
is the configured
mount point in the AutoFS map.
2. To verify that the contents of the remote directory have been
mounted under the local mount point, issue the following command:
/usr/bin/ls
If the directory is configured in an indirect map, issuing the ls command
from the parent directory displays potential mount points (browsability).
When you change to a subdirectory configured in the indirect map, or
issue the ls
subdirectory
command, the subdirectory is mounted.
Consider that 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
Considering that you have the preceding configuration, issue the
following commands:
cd /nfs/desktop
ls
The output of the last command (ls) is as follows:
draw write