1 .\" Copyright (c) 2016 The DragonFly Project
2 .\" Copyright (c) 2014 The FreeBSD Foundation
3 .\" All rights reserved.
5 .\" This software was developed by Edward Tomasz Napierala under sponsorship
6 .\" from the FreeBSD Foundation.
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
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.
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
36 .Nd "automounter filesystem"
38 To compile this driver into the kernel,
39 place the following line in the
40 kernel configuration file:
41 .Bd -ragged -offset indent
45 Alternatively, to load the driver as a
46 module at boot time, place the following line in
48 .Bd -literal -offset indent
54 driver is the kernel component of the automounter infrastructure.
55 Its job is to pass mount requests to the
57 daemon, and pause the processes trying to access the automounted filesystem
58 until the mount is completed.
62 These options are available when
66 .Bl -tag -width indent
68 Mount options for all filesystems specified in the map entry.
70 Filesystem mountpoint prefix.
73 The following variables are available as both
78 .Bl -tag -width indent
79 .It Va vfs.autofs.debug
80 Verbosity level for log messages from the
83 Set to 0 to disable logging or 1 to warn about potential problems.
84 Larger values enable debugging output.
86 .It Va vfs.autofs.interruptible
87 Set to 1 to allow mount requests to be interrupted by signal.
89 .It Va vfs.autofs.retry_delay
90 Number of seconds before retrying mount requests.
92 .It Va vfs.autofs.retry_attempts
93 Number of attempts before failing mount.
95 .It Va vfs.autofs.cache
96 Number of seconds to wait before reinvoking
98 for any given file or directory.
100 .It Va vfs.autofs.timeout
101 Number of seconds to wait for
103 to handle the mount request.
105 .\".It Va vfs.autofs.mount_on_stat
106 .\"Set to 1 to trigger mount on
112 To unmount all mounted
116 .Dl "umount -At autofs"
120 filesystems specified in
132 driver first appeared in
136 driver first appeared in
142 .An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
143 under sponsorship from the FreeBSD Foundation.
150 .An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org .
151 Donated to DragonFlyBSD by PeerCorps Trust Fund.