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