man-pages/man8/autofs.8.html
2021-03-31 01:06:50 +01:00

165 lines
4.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of AUTOFS</TITLE>
</HEAD><BODY>
<H1>AUTOFS</H1>
Section: Maintenance Commands (8)<BR>Updated: 9 Sep 1997<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
autofs - Service control for the automounter
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
If a SysV init script system is being used:
<BR>
<B>/etc/init.d/autofs</B>
<I>start|stop|restart|reload|status</I>
<P>
or if the systemd init system is being used:
<BR>
<B>systemctl</B>
<I>start|stop|restart|reload|status</I>
<B>autofs.service</B>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>autofs</B>
controls the operation of the
<B><A HREF="/cgi-bin/man/man2html?8+automount">automount</A></B>(8)
daemon(s) running on the Linux system. Usually
<B>autofs</B>
is invoked at system boot time with the
<I>start</I>
parameter and at shutdown time with the
<I>stop</I>
parameter. Service control actions can also be manually invoked by
the system administrator to shut down, restart, reload or obtain
service status.
<P>
<A NAME="lbAE">&nbsp;</A>
<H2>OPERATION</H2>
<B>autofs</B>
will consult a configuration file
<I>/etc/auto.master</I>
(see
<B><A HREF="/cgi-bin/man/man2html?5+auto.master">auto.master</A></B>(5))
by default to find mount points on the system. For each of those mount points
<B><A HREF="/cgi-bin/man/man2html?8+automount">automount</A></B>(8)
will mount and start a thread, with the appropriate parameters, to
manage the mount point.
<P>
<B>/etc/init.d/autofs reload</B>
or
<B>systemctl autofs.service reload</B>
will check the current auto.master map against the current automount managed
mounts. It will terminate those daemons or threads (depending on
<B>autofs</B>
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.
<P>
If an indirect map is modified then the change will become effective immediately.
If an indirect map uses the
<B>browse</B>
option, the master map contains direct mount maps or the
<I>auto.master</I>
map is modified then the
<B>autofs</B>
service control reload action must be rerun to activate the changes.
<P>
However, if a map entry has offsets and is currently in use the offset
mounts cannot be updated due to potential mount dependencies. In this
case the map entry offsets will not be updated until after the map
entry has expired.
<P>
<B>/etc/init.d/autofs status</B>
or
<B>systemctl autofs.service status</B>
will display the status of,
<B><A HREF="/cgi-bin/man/man2html?8+automount">automount</A></B>(8),
running or not. When using the systemd init system the status output includes
somewhat more information related to the service status.
<P>
<B><A HREF="/cgi-bin/man/man2html?1+systemctl">systemctl</A>(1)</B>
has more functions than the actions mentioned here, see
<B><A HREF="/cgi-bin/man/man2html?1+systemctl">systemctl</A>(1)</B>
for more information.
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?8+automount">automount</A></B>(8),
<B><A HREF="/cgi-bin/man/man2html?5+autofs">autofs</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+autofs.conf">autofs.conf</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+auto.master">auto.master</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?5+autofs_ldap_auth.conf">autofs_ldap_auth.conf</A></B>(5),
<B><A HREF="/cgi-bin/man/man2html?1+systemctl">systemctl</A>(1).</B>
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>
This manual page was written by Christoph Lameter &lt;<A HREF="mailto:chris@waterf.org">chris@waterf.org</A>&gt;,
for the Debian GNU/Linux system. Edited by H. Peter Anvin
&lt;<A HREF="mailto:hpa@transmeta.com">hpa@transmeta.com</A>&gt; and Ian Kent &lt;<A HREF="mailto:raven@themaw.net">raven@themaw.net</A>&gt;.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">OPERATION</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:11 GMT, March 31, 2021
</BODY>
</HTML>