This feature is new in the Software Express pilot program. This feature is included in the Solaris 10 3/05 release.
The new configuration file for your autofs environment, /etc/default/autofs, provides an additional way to configure your autofs commands and autofs daemons. Now, the same specifications that you would make on the command line can be made in this new configuration file. However, unlike the specifications you would make on the command line, this file preserves your specifications, even during upgrades to your operating system. Additionally, you no longer are required to update critical startup files to ensure that the existing behavior of your autofs environment is preserved.
You can make your specifications by using the following keywords:
AUTOMOUNTD_ENV permits you to assign different values to different environments. This keyword is the equivalent of the -D argument for automountd.
AUTOMOUNTD_NOBROWSE turns browsing on, or turns browsing off, for all autofs mount points. This command is the equivalent of the -n argument for automountd.
AUTOMOUNTD_TRACE expands each remote procedure call (RPC) and displays the expanded RPC on standard output. This keyword is the equivalent of the -T argument for automountd.
AUTOMOUNTD_VERBOSE logs status messages to the console and is the equivalent of the -v argument for the automountd daemon.
AUTOMOUNT_TIMEOUT sets the duration for a file system to remain idle before the file system is unmounted. This keyword is the equivalent of the -t argument for the automount command.
AUTOMOUNT_VERBOSE provides notification of autofs mounts, unmounts, and other nonessential events. This keyword is the equivalent of the -v argument for automount.
For more information, refer to the automount(1M) and the automountd(1M) man pages.
For further information, see the System Administration Guide: Network Services.