Service control for the automounter
If a SysV init script system is being used:
or if the systemd init system is being used:
systemctl start|stop|restart|reload|status autofs.service
controls the operation of the automount(8)
running on the Linux system. Usually autofs
is invoked at system boot
time with the start
parameter and at shutdown time with the stop
parameter. Service control actions can also be manually invoked by the system
administrator to shut down, restart, reload or obtain service status.
will consult a configuration file /etc/auto.master
) by default to find mount points on the system. For each
of those mount points automount(8)
will mount and start a thread, with
the appropriate parameters, to manage the mount point.
or systemctl autofs.service reload
check the current auto.master map against the current automount managed
mounts. It will terminate those daemons or threads (depending on autofs
version) whose entries have been removed, re-read the automount maps for
entries that have changed and start new daemons or threads for entries that
have been added.
If an indirect map is modified then the change will become effective
immediately. If an indirect map uses the browse
option, the master map
contains direct mount maps or the auto.master
map is modified then the
service control reload action must be rerun to activate the
or systemctl autofs.service status
display the status of, automount(8)
, running or not. When using the
systemd init system the status output includes somewhat more information
related to the service status.
has more functions than the actions mentioned here, see
for more information.
. autofs_ldap_auth.conf(5) systemctl(1)
This manual page was written by Christoph Lameter <firstname.lastname@example.org>, for
the Debian GNU/Linux system. Edited by H. Peter Anvin
<email@example.com> and Ian Kent <firstname.lastname@example.org>.