autofsd - autoFS mount/unmount daemon
autofsd [ -vT ] [ -p priority ] [ -tp duration ] [ -D name=value ]
[-m maxthreads ] [-E user ] [ -P tcp|udp ]
autofsd is an RPC server that answers filesystem mount and unmount
requests from the AutoFS filesystem. It uses local files or name service
maps to locate filesystems to be mounted. These maps are described with
the autofs(1M) command.
The autofsd daemon is started during system initialization from the
/etc/init.d/network script if the configuration flags nfs and autofs are
set on. Type the following commands as superuser to enable AutoFS:
/etc/chkconfig nfs on
/etc/chkconfig autofs on
Rebooting invokes the autofs command and start the autofsd daemon with
the options contained in the file /etc/config/autofs.options. The autofs
command passes mount point configuration information found in the file
/etc/auto_master to autofsd. Do not kill autofsd to change the AutoFS
configuration. Run the autofs command to cause changes in the
configuration maps to take affect.
-v Verbose. Log status messages to the console.
-T Trace. Expand each RPC call and display it on the
-p priority Set the priority of the daemon process. The daemon will
run at the priority specified, with a scheduling policy
of SCHED_TS. The default priority is 30.
-tp duration Specify the duration, in seconds, that the results of a
probe of a server's availability will remain cached. The
default is 5 seconds.
-D name=value Assign value to the indicated AutoFS map substitution
variable. These assignments cannot be used to substitute
variables in the master map, auto_master.
-m maxthreads Set the maximum number of threads that autofsd will
create to handle autofs mount or unmount requests.
autofsd will create the threads only when needed. At this
time the user cannot specify a number greater than 16 for
maxthreads. The default is to run autofsd multi-threaded
with the maximum, 16 threads. Setting this option to the
value 1 will cause autofsd to run as a single threaded
-E user autofsd will first do a setuid to the specified user
before executing any autofs maps. This is done for
security reasons, to allow the system administrator to
specify that autofsd should execute autofs maps, if any,
as a user who does not have any superuser privileges.
-P tcp|udp autofsd will default to do all nfs mounts with the IP
protocol specified here. The user can override the
protocol specified here by using the proto=xyz mount
option in the autofs maps. The currently allowed options
are only tcp and udp. If this (-P) option is not used,
the default is to do all nfs mounts with udp. If the tcp
option is specified and the remote nfs server does not
support nfs over tcp, autofsd will retry the mount over
/etc/auto_master master map for AutoFS
/etc/config/autofs.options options and arguments for the autofs command
and the autofsd daemon
autofs(1M), chkconfig(1M), mount(1M), sched_setscheduler(2).
For security reasons, the user should be extremely wary using the -E
option. It's use is deprecated. Support for executable autofs maps may go
away in the future.
PPPPaaaaggggeeee 2222 [ Back ]