Enhanced AutoFS Administrator's Guide
Installing Enhanced AutoFS
Updating from Automounter to Enhanced AutoFS
Chapter 2 17
Updating from Automounter to Enhanced
AutoFS
This section includes information on how to update from the
Automounter configuration to Enhanced AutoFS.
To update from Automounter to Enhanced AutoFS, perform the following
steps:
1. In the /etc/rc.config.d/nfsconf file, set the AUTOFS variable to 1.
2. Copy the options specified in the AUTO_OPTIONS variable to the
AUTOMOUNT_OPTIONS or AUTOMOUNTD_OPTIONS variable. In addition,
remove the obsolete options.
Table 2-1 lists the options of the old automount command and the
equivalent AutoFS command options. It also indicates which
automount options are obsolete with AutoFS.
Table 2-1 Old automount Command-Line Options
Old automount
Option
Equivalent
AutoFS Command
Option
Purpose
-D
variable
=
value
automountd -D
variable
=
value
Assign
value
to the
environment
variable
.
-f
master_file
automount -f
master_file
Use
master_file
as
the local master map.
-M
mount_directory
Obsolete with
AutoFS.
Automount directories
under
mount_directory
instead of
/tmp_mnt
.
-m Obsolete with
AutoFS.
Ignore the NIS
auto.master map.