xref: /dragonfly/usr.sbin/autofs/automountd.8 (revision d9d67b59)
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 April 14, 2016
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 v
85Increase verbosity.
86.El
87.Sh EXIT STATUS
88.Ex -std
89.Sh SEE ALSO
90.Xr autofs 5 ,
91.Xr auto_master 5 ,
92.Xr hammer 5 ,
93.Xr automount 8 ,
94.Xr autounmountd 8
95.Sh HISTORY
96The
97.Nm
98daemon appeared in
99.Fx 10.1 .
100The
101.Nm
102daemon appeared in
103.Dx 4.5 .
104.Sh AUTHORS
105The
106.Nm
107was developed by
108.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
109under sponsorship from the FreeBSD Foundation.
110.Pp
111The
112.Nm
113was ported to
114.Dx
115by
116.An Tomohiro Kusumi Aq Mt kusumi.tomohiro@gmail.com .
117Donated to DragonFlyBSD by PeerCorps Trust Fund.
118