NFS Services Administrator's Guide

Configuring and Administering AutoFS
How AutoFS Works
Chapter 3 105
# /etc/auto_indirect file
# local mount point mount options remote server:directory
/test -nosuid thyme:/export/project/test
/apps -nosuid basil:/export/apps
Enter the following commands:
cd /nfs/desktop
ls
The ls command displays the following:
test apps
The test and apps subdirectories are the potential mount points.
However, they are not currently mounted, but if you enter the following
commands, both test and apps subdirectories are mounted:
cd /nfs/desktop/test
cd /nfs/desktop/apps
Browsing is enabled by default for all indirect AutoFS maps. To disable
browsing for a specific indirect map, specify the -nobrowse option for
that map. Optionally, you can disable browsing for all indirect maps by
launching automountd with the -n option.
NFS Loopback Mount
By default, AutoFS uses the Loopback Filesystem (LOFS) mount for
locally mounted filesystems. AutoFS provides an option to allow the
loopback NFS mounts for the local mount. The automountd command
with the -L option is used to enable the loopback NFS mounts for locally
mounted filesystems. This option is useful when AutoFS is running on a
node that is part of a High Availability NFS environment.