libefivar: Fix (instead of silence) the remaining warnings in libefivar.
[dragonfly.git] / usr.sbin / autofs / automountd.8
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
46 The
47 .Nm
48 daemon is responsible for handling
49 .Xr autofs 5
50 mount requests, parsing maps,
51 and mounting filesystems they specify.
52 On startup,
53 .Nm
54 forks into background and waits for kernel requests.
55 When a request is received,
56 .Nm
57 forks a child process.
58 The child process parses the appropriate map and mounts filesystems accordingly.
59 Then it signals the kernel to release blocked processes that were waiting
60 for the mount.
61 .Bl -tag -width ".Fl v"
62 .It Fl D
63 Define a variable.
64 .It Fl i
65 For indirect mounts, only create subdirectories if there are no wildcard
66 entries.
67 Without
68 .Fl i ,
69 .Nm
70 creates all the subdirectories it can.
71 Users may not realize that the wildcard map entry makes it possible to access
72 directories that have not yet been created.
73 .It Fl m Ar maxproc
74 Limit the number of forked
75 .Nm
76 processes, and thus the number of mount requests being handled in parallel.
77 The default is 30.
78 .It Fl d
79 Debug mode: increase verbosity and do not daemonize.
80 .It Fl o Ar options
81 Specify mount options.
82 Options specified here will be overridden by options entered in maps or
83 .Xr auto_master 5 .
84 .It Fl T
85 Increase verbosity.
86 For compatibility with other implementations, such as OS X.
87 .It Fl v
88 Increase 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
99 The
100 .Nm
101 daemon appeared in
102 .Fx 10.1 .
103 The
104 .Nm
105 daemon appeared in
106 .Dx 4.5 .
107 .Sh AUTHORS
108 The
109 .Nm
110 was developed by
111 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
112 under sponsorship from the FreeBSD Foundation.
113 .Pp
114 The
115 .Nm
116 was ported to
117 .Dx
118 by
119 .An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org .
120 Donated to DragonFlyBSD by PeerCorps Trust Fund.