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