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