]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/autofs/automountd.8
ident(1): Normalizing date format
[FreeBSD/FreeBSD.git] / usr.sbin / autofs / automountd.8
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
44 The
45 .Nm
46 daemon is responsible for handling
47 .Xr autofs 5
48 mount requests, parsing maps,
49 and mounting filesystems they specify.
50 On startup,
51 .Nm
52 forks into background and waits for kernel requests.
53 When a request is received,
54 .Nm
55 forks a child process.
56 The child process parses the appropriate map and mounts filesystems accordingly.
57 Then it signals the kernel to release blocked processes that were waiting
58 for the mount.
59 .Bl -tag -width ".Fl v"
60 .It Fl D
61 Define a variable.
62 .It Fl i
63 For indirect mounts, only create subdirectories if there are no wildcard
64 entries.
65 Without
66 .Fl i ,
67 .Nm
68 creates all the subdirectories it can.
69 Users may not realize that the wildcard map entry makes it possible to access
70 directories that have not yet been created.
71 .It Fl m Ar maxproc
72 Limit the number of forked
73 .Nm
74 processes, and thus the number of mount requests being handled in parallel.
75 The default is 30.
76 .It Fl d
77 Debug mode: increase verbosity and do not daemonize.
78 .It Fl o Ar options
79 Specify mount options.
80 Options specified here will be overridden by options entered in maps or
81 .Xr auto_master 5 .
82 .It Fl v
83 Increase 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
93 The
94 .Nm
95 daemon appeared in
96 .Fx 10.1 .
97 .Sh AUTHORS
98 The
99 .Nm
100 was developed by
101 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
102 under sponsorship from the FreeBSD Foundation.