xref: /freebsd/usr.sbin/autofs/automountd.8 (revision 3914ddf8a7b16925f50cc2e29e916aa2d56063fb)
1*3914ddf8SEdward Tomasz Napierala.\" Copyright (c) 2014 The FreeBSD Foundation
2*3914ddf8SEdward Tomasz Napierala.\" All rights reserved.
3*3914ddf8SEdward Tomasz Napierala.\"
4*3914ddf8SEdward Tomasz Napierala.\" This software was developed by Edward Tomasz Napierala under sponsorship
5*3914ddf8SEdward Tomasz Napierala.\" from the FreeBSD Foundation.
6*3914ddf8SEdward Tomasz Napierala.\"
7*3914ddf8SEdward Tomasz Napierala.\" Redistribution and use in source and binary forms, with or without
8*3914ddf8SEdward Tomasz Napierala.\" modification, are permitted provided that the following conditions
9*3914ddf8SEdward Tomasz Napierala.\" are met:
10*3914ddf8SEdward Tomasz Napierala.\" 1. Redistributions of source code must retain the above copyright
11*3914ddf8SEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer.
12*3914ddf8SEdward Tomasz Napierala.\" 2. Redistributions in binary form must reproduce the above copyright
13*3914ddf8SEdward Tomasz Napierala.\"    notice, this list of conditions and the following disclaimer in the
14*3914ddf8SEdward Tomasz Napierala.\"    documentation and/or other materials provided with the distribution.
15*3914ddf8SEdward Tomasz Napierala.\"
16*3914ddf8SEdward Tomasz Napierala.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
17*3914ddf8SEdward Tomasz Napierala.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18*3914ddf8SEdward Tomasz Napierala.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19*3914ddf8SEdward Tomasz Napierala.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
20*3914ddf8SEdward Tomasz Napierala.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21*3914ddf8SEdward Tomasz Napierala.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22*3914ddf8SEdward Tomasz Napierala.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23*3914ddf8SEdward Tomasz Napierala.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24*3914ddf8SEdward Tomasz Napierala.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25*3914ddf8SEdward Tomasz Napierala.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26*3914ddf8SEdward Tomasz Napierala.\" SUCH DAMAGE.
27*3914ddf8SEdward Tomasz Napierala.\"
28*3914ddf8SEdward Tomasz Napierala.\" $FreeBSD$
29*3914ddf8SEdward Tomasz Napierala.\"
30*3914ddf8SEdward Tomasz Napierala.Dd April 20, 2014
31*3914ddf8SEdward Tomasz Napierala.Dt AUTOMOUNTD 8
32*3914ddf8SEdward Tomasz Napierala.Os
33*3914ddf8SEdward Tomasz Napierala.Sh NAME
34*3914ddf8SEdward Tomasz Napierala.Nm automountd
35*3914ddf8SEdward Tomasz Napierala.Nd daemon handling autofs mount requests
36*3914ddf8SEdward Tomasz Napierala.Sh SYNOPSIS
37*3914ddf8SEdward Tomasz Napierala.Nm
38*3914ddf8SEdward Tomasz Napierala.Op Fl D Ar name=value
39*3914ddf8SEdward Tomasz Napierala.Op Fl i
40*3914ddf8SEdward Tomasz Napierala.Op Fl m Ar maxproc
41*3914ddf8SEdward Tomasz Napierala.Op Fl o Ar options
42*3914ddf8SEdward Tomasz Napierala.Op Fl d
43*3914ddf8SEdward Tomasz Napierala.Op Fl v
44*3914ddf8SEdward Tomasz Napierala.Sh DESCRIPTION
45*3914ddf8SEdward Tomasz NapieralaThe
46*3914ddf8SEdward Tomasz Napierala.Nm
47*3914ddf8SEdward Tomasz Napieraladaemon is responsible for handling
48*3914ddf8SEdward Tomasz Napierala.Xr autofs 5
49*3914ddf8SEdward Tomasz Napieralamount requests, parsing maps,
50*3914ddf8SEdward Tomasz Napieralaand mounting filesystems they specify.
51*3914ddf8SEdward Tomasz NapieralaOn startup,
52*3914ddf8SEdward Tomasz Napierala.Nm
53*3914ddf8SEdward Tomasz Napieralaforks into background and waits for kernel requests.
54*3914ddf8SEdward Tomasz NapieralaWhen a request is received,
55*3914ddf8SEdward Tomasz Napierala.Nm
56*3914ddf8SEdward Tomasz Napieralaforks a child process.
57*3914ddf8SEdward Tomasz NapieralaThe child process parses the appropriate map and mounts filesystems accordingly.
58*3914ddf8SEdward Tomasz NapieralaThen it signals the kernel to release blocked processes that were waiting
59*3914ddf8SEdward Tomasz Napieralafor the mount.
60*3914ddf8SEdward Tomasz Napierala.Bl -tag -width ".Fl v"
61*3914ddf8SEdward Tomasz Napierala.It Fl D
62*3914ddf8SEdward Tomasz NapieralaDefine a variable.
63*3914ddf8SEdward Tomasz Napierala.It Fl i
64*3914ddf8SEdward Tomasz NapieralaFor indirect mounts, only create subdirectories if there are no wildcard
65*3914ddf8SEdward Tomasz Napieralaentries.
66*3914ddf8SEdward Tomasz NapieralaWithout
67*3914ddf8SEdward Tomasz Napierala.Fl i ,
68*3914ddf8SEdward Tomasz Napierala.Nm
69*3914ddf8SEdward Tomasz Napieralacreates all the subdirectories it can.
70*3914ddf8SEdward Tomasz NapieralaUsers may not realize that the wildcard map entry makes it possible to access
71*3914ddf8SEdward Tomasz Napieraladirectories that have not yet been created.
72*3914ddf8SEdward Tomasz Napierala.It Fl m Ar maxproc
73*3914ddf8SEdward Tomasz NapieralaLimit the number of forked
74*3914ddf8SEdward Tomasz Napierala.Nm
75*3914ddf8SEdward Tomasz Napieralaprocesses, and thus the number of mount requests being handled in parallel.
76*3914ddf8SEdward Tomasz NapieralaThe default is 30.
77*3914ddf8SEdward Tomasz Napierala.It Fl d
78*3914ddf8SEdward Tomasz NapieralaDebug mode: increase verbosity and do not daemonize.
79*3914ddf8SEdward Tomasz Napierala.It Fl o Ar options
80*3914ddf8SEdward Tomasz NapieralaSpecify mount options.
81*3914ddf8SEdward Tomasz NapieralaOptions specified here ill be overridden by options entered in maps or
82*3914ddf8SEdward Tomasz Napierala.Xr auto_master 5 .
83*3914ddf8SEdward Tomasz Napierala.It Fl v
84*3914ddf8SEdward Tomasz NapieralaIncrease verbosity.
85*3914ddf8SEdward Tomasz Napierala.El
86*3914ddf8SEdward Tomasz Napierala.Sh EXIT STATUS
87*3914ddf8SEdward Tomasz Napierala.Ex -std
88*3914ddf8SEdward Tomasz Napierala.Sh SEE ALSO
89*3914ddf8SEdward Tomasz Napierala.Xr auto_master 5 ,
90*3914ddf8SEdward Tomasz Napierala.Xr autofs 5 ,
91*3914ddf8SEdward Tomasz Napierala.Xr automount 8 ,
92*3914ddf8SEdward Tomasz Napierala.Xr autounmountd 8
93*3914ddf8SEdward Tomasz Napierala.Sh HISTORY
94*3914ddf8SEdward Tomasz NapieralaThe
95*3914ddf8SEdward Tomasz Napierala.Nm
96*3914ddf8SEdward Tomasz Napieraladaemon appeared in
97*3914ddf8SEdward Tomasz Napierala.Fx 10.1 .
98*3914ddf8SEdward Tomasz Napierala.Sh AUTHORS
99*3914ddf8SEdward Tomasz NapieralaThe
100*3914ddf8SEdward Tomasz Napierala.Nm
101*3914ddf8SEdward Tomasz Napieralawas developed by
102*3914ddf8SEdward Tomasz Napierala.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
103*3914ddf8SEdward Tomasz Napieralaunder sponsorship from the FreeBSD Foundation.
104