usched: Allow process to change self cpu affinity
[dragonfly.git] / usr.sbin / autofs / automountd.8
blob46b2ab6f8f4c9100b113720f9236fa7caec9696e
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
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 v
85 Increase 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
96 The
97 .Nm
98 daemon appeared in
99 .Fx 10.1 .
102 daemon appeared in
103 .Dx 4.5 .
104 .Sh AUTHORS
107 was developed by
108 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
109 under sponsorship from the FreeBSD Foundation.
113 was ported to
116 .An Tomohiro Kusumi Aq Mt kusumi.tomohiro@gmail.com .
117 Donated to DragonFlyBSD by PeerCorps Trust Fund.