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