xref: /freebsd/usr.sbin/autofs/automountd.8 (revision 1a720cbec513210fa2e85c3882741ef2f6dc5f35)
13914ddf8SEdward Tomasz Napierala.\" Copyright (c) 2014 The FreeBSD Foundation
23914ddf8SEdward Tomasz Napierala.\"
33914ddf8SEdward Tomasz Napierala.\" This software was developed by Edward Tomasz Napierala under sponsorship
43914ddf8SEdward Tomasz Napierala.\" from the FreeBSD Foundation.
53914ddf8SEdward Tomasz Napierala.\"
63914ddf8SEdward Tomasz Napierala.\" Redistribution and use in source and binary forms, with or without
73914ddf8SEdward Tomasz Napierala.\" modification, are permitted provided that the following conditions
83914ddf8SEdward Tomasz Napierala.\" are met:
93914ddf8SEdward Tomasz Napierala.\" 1. Redistributions of source code must retain the above copyright
103914ddf8SEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer.
113914ddf8SEdward Tomasz Napierala.\" 2. Redistributions in binary form must reproduce the above copyright
123914ddf8SEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer in the
133914ddf8SEdward Tomasz Napierala.\"    documentation and/or other materials provided with the distribution.
143914ddf8SEdward Tomasz Napierala.\"
153914ddf8SEdward Tomasz Napierala.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
163914ddf8SEdward Tomasz Napierala.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
173914ddf8SEdward Tomasz Napierala.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
183914ddf8SEdward Tomasz Napierala.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
193914ddf8SEdward Tomasz Napierala.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
203914ddf8SEdward Tomasz Napierala.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
213914ddf8SEdward Tomasz Napierala.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
223914ddf8SEdward Tomasz Napierala.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
233914ddf8SEdward Tomasz Napierala.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
243914ddf8SEdward Tomasz Napierala.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
253914ddf8SEdward Tomasz Napierala.\" SUCH DAMAGE.
263914ddf8SEdward Tomasz Napierala.\"
277b74285fSEdward Tomasz Napierala.Dd March 10, 2015
283914ddf8SEdward Tomasz Napierala.Dt AUTOMOUNTD 8
293914ddf8SEdward Tomasz Napierala.Os
303914ddf8SEdward Tomasz Napierala.Sh NAME
313914ddf8SEdward Tomasz Napierala.Nm automountd
323914ddf8SEdward Tomasz Napierala.Nd daemon handling autofs mount requests
333914ddf8SEdward Tomasz Napierala.Sh SYNOPSIS
343914ddf8SEdward Tomasz Napierala.Nm
353914ddf8SEdward Tomasz Napierala.Op Fl D Ar name=value
363914ddf8SEdward Tomasz Napierala.Op Fl i
373914ddf8SEdward Tomasz Napierala.Op Fl m Ar maxproc
383914ddf8SEdward Tomasz Napierala.Op Fl o Ar options
393914ddf8SEdward Tomasz Napierala.Op Fl d
403914ddf8SEdward Tomasz Napierala.Op Fl v
413914ddf8SEdward Tomasz Napierala.Sh DESCRIPTION
423914ddf8SEdward Tomasz NapieralaThe
433914ddf8SEdward Tomasz Napierala.Nm
443914ddf8SEdward Tomasz Napieraladaemon is responsible for handling
45*1a720cbeSAlexander Ziaee.Xr autofs 4
463914ddf8SEdward Tomasz Napieralamount requests, parsing maps,
473914ddf8SEdward Tomasz Napieralaand mounting filesystems they specify.
483914ddf8SEdward Tomasz NapieralaOn startup,
493914ddf8SEdward Tomasz Napierala.Nm
503914ddf8SEdward Tomasz Napieralaforks into background and waits for kernel requests.
513914ddf8SEdward Tomasz NapieralaWhen a request is received,
523914ddf8SEdward Tomasz Napierala.Nm
533914ddf8SEdward Tomasz Napieralaforks a child process.
543914ddf8SEdward Tomasz NapieralaThe child process parses the appropriate map and mounts filesystems accordingly.
553914ddf8SEdward Tomasz NapieralaThen it signals the kernel to release blocked processes that were waiting
563914ddf8SEdward Tomasz Napieralafor the mount.
573914ddf8SEdward Tomasz Napierala.Bl -tag -width ".Fl v"
583914ddf8SEdward Tomasz Napierala.It Fl D
593914ddf8SEdward Tomasz NapieralaDefine a variable.
603914ddf8SEdward Tomasz Napierala.It Fl i
613914ddf8SEdward Tomasz NapieralaFor indirect mounts, only create subdirectories if there are no wildcard
623914ddf8SEdward Tomasz Napieralaentries.
633914ddf8SEdward Tomasz NapieralaWithout
643914ddf8SEdward Tomasz Napierala.Fl i ,
653914ddf8SEdward Tomasz Napierala.Nm
663914ddf8SEdward Tomasz Napieralacreates all the subdirectories it can.
673914ddf8SEdward Tomasz NapieralaUsers may not realize that the wildcard map entry makes it possible to access
683914ddf8SEdward Tomasz Napieraladirectories that have not yet been created.
693914ddf8SEdward Tomasz Napierala.It Fl m Ar maxproc
703914ddf8SEdward Tomasz NapieralaLimit the number of forked
713914ddf8SEdward Tomasz Napierala.Nm
723914ddf8SEdward Tomasz Napieralaprocesses, and thus the number of mount requests being handled in parallel.
733914ddf8SEdward Tomasz NapieralaThe default is 30.
743914ddf8SEdward Tomasz Napierala.It Fl d
753914ddf8SEdward Tomasz NapieralaDebug mode: increase verbosity and do not daemonize.
763914ddf8SEdward Tomasz Napierala.It Fl o Ar options
773914ddf8SEdward Tomasz NapieralaSpecify mount options.
787b74285fSEdward Tomasz NapieralaOptions specified here will be overridden by options entered in maps or
793914ddf8SEdward Tomasz Napierala.Xr auto_master 5 .
803914ddf8SEdward Tomasz Napierala.It Fl v
813914ddf8SEdward Tomasz NapieralaIncrease verbosity.
823914ddf8SEdward Tomasz Napierala.El
833914ddf8SEdward Tomasz Napierala.Sh EXIT STATUS
843914ddf8SEdward Tomasz Napierala.Ex -std
853914ddf8SEdward Tomasz Napierala.Sh SEE ALSO
86*1a720cbeSAlexander Ziaee.Xr autofs 4 ,
873914ddf8SEdward Tomasz Napierala.Xr auto_master 5 ,
883914ddf8SEdward Tomasz Napierala.Xr automount 8 ,
893914ddf8SEdward Tomasz Napierala.Xr autounmountd 8
903914ddf8SEdward Tomasz Napierala.Sh HISTORY
913914ddf8SEdward Tomasz NapieralaThe
923914ddf8SEdward Tomasz Napierala.Nm
933914ddf8SEdward Tomasz Napieraladaemon appeared in
943914ddf8SEdward Tomasz Napierala.Fx 10.1 .
953914ddf8SEdward Tomasz Napierala.Sh AUTHORS
963914ddf8SEdward Tomasz NapieralaThe
973914ddf8SEdward Tomasz Napierala.Nm
983914ddf8SEdward Tomasz Napieralawas developed by
993914ddf8SEdward Tomasz Napierala.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
1003914ddf8SEdward Tomasz Napieralaunder sponsorship from the FreeBSD Foundation.
101