1*7839534aSAlexander Ziaee.\"- 2*7839534aSAlexander Ziaee.\" SPDX-License-Identifier: BSD-2-Clause 3*7839534aSAlexander Ziaee.\" 43914ddf8SEdward Tomasz Napierala.\" Copyright (c) 2014 The FreeBSD Foundation 53914ddf8SEdward Tomasz Napierala.\" 63914ddf8SEdward Tomasz Napierala.\" This software was developed by Edward Tomasz Napierala under sponsorship 73914ddf8SEdward Tomasz Napierala.\" from the FreeBSD Foundation. 83914ddf8SEdward Tomasz Napierala.\" 93914ddf8SEdward Tomasz Napierala.\" Redistribution and use in source and binary forms, with or without 103914ddf8SEdward Tomasz Napierala.\" modification, are permitted provided that the following conditions 113914ddf8SEdward Tomasz Napierala.\" are met: 123914ddf8SEdward Tomasz Napierala.\" 1. Redistributions of source code must retain the above copyright 133914ddf8SEdward Tomasz Napierala.\" notice, this list of conditions and the following disclaimer. 143914ddf8SEdward Tomasz Napierala.\" 2. Redistributions in binary form must reproduce the above copyright 153914ddf8SEdward Tomasz Napierala.\" notice, this list of conditions and the following disclaimer in the 163914ddf8SEdward Tomasz Napierala.\" documentation and/or other materials provided with the distribution. 173914ddf8SEdward Tomasz Napierala.\" 183914ddf8SEdward Tomasz Napierala.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 193914ddf8SEdward Tomasz Napierala.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 203914ddf8SEdward Tomasz Napierala.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 213914ddf8SEdward Tomasz Napierala.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 223914ddf8SEdward Tomasz Napierala.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 233914ddf8SEdward Tomasz Napierala.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 243914ddf8SEdward Tomasz Napierala.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 253914ddf8SEdward Tomasz Napierala.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 263914ddf8SEdward Tomasz Napierala.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 273914ddf8SEdward Tomasz Napierala.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 283914ddf8SEdward Tomasz Napierala.\" SUCH DAMAGE. 293914ddf8SEdward Tomasz Napierala.\" 307b74285fSEdward Tomasz Napierala.Dd March 10, 2015 313914ddf8SEdward Tomasz Napierala.Dt AUTOMOUNTD 8 323914ddf8SEdward Tomasz Napierala.Os 333914ddf8SEdward Tomasz Napierala.Sh NAME 343914ddf8SEdward Tomasz Napierala.Nm automountd 353914ddf8SEdward Tomasz Napierala.Nd daemon handling autofs mount requests 363914ddf8SEdward Tomasz Napierala.Sh SYNOPSIS 373914ddf8SEdward Tomasz Napierala.Nm 383914ddf8SEdward Tomasz Napierala.Op Fl D Ar name=value 393914ddf8SEdward Tomasz Napierala.Op Fl i 403914ddf8SEdward Tomasz Napierala.Op Fl m Ar maxproc 413914ddf8SEdward Tomasz Napierala.Op Fl o Ar options 423914ddf8SEdward Tomasz Napierala.Op Fl d 433914ddf8SEdward Tomasz Napierala.Op Fl v 443914ddf8SEdward Tomasz Napierala.Sh DESCRIPTION 453914ddf8SEdward Tomasz NapieralaThe 463914ddf8SEdward Tomasz Napierala.Nm 473914ddf8SEdward Tomasz Napieraladaemon is responsible for handling 481a720cbeSAlexander Ziaee.Xr autofs 4 493914ddf8SEdward Tomasz Napieralamount requests, parsing maps, 503914ddf8SEdward Tomasz Napieralaand mounting filesystems they specify. 513914ddf8SEdward Tomasz NapieralaOn startup, 523914ddf8SEdward Tomasz Napierala.Nm 533914ddf8SEdward Tomasz Napieralaforks into background and waits for kernel requests. 543914ddf8SEdward Tomasz NapieralaWhen a request is received, 553914ddf8SEdward Tomasz Napierala.Nm 563914ddf8SEdward Tomasz Napieralaforks a child process. 573914ddf8SEdward Tomasz NapieralaThe child process parses the appropriate map and mounts filesystems accordingly. 583914ddf8SEdward Tomasz NapieralaThen it signals the kernel to release blocked processes that were waiting 593914ddf8SEdward Tomasz Napieralafor the mount. 60*7839534aSAlexander Ziaee.Bl -tag -width "-m maxproc" 613914ddf8SEdward Tomasz Napierala.It Fl D 623914ddf8SEdward Tomasz NapieralaDefine a variable. 633914ddf8SEdward Tomasz Napierala.It Fl i 643914ddf8SEdward Tomasz NapieralaFor indirect mounts, only create subdirectories if there are no wildcard 653914ddf8SEdward Tomasz Napieralaentries. 663914ddf8SEdward Tomasz NapieralaWithout 673914ddf8SEdward Tomasz Napierala.Fl i , 683914ddf8SEdward Tomasz Napierala.Nm 693914ddf8SEdward Tomasz Napieralacreates all the subdirectories it can. 703914ddf8SEdward Tomasz NapieralaUsers may not realize that the wildcard map entry makes it possible to access 713914ddf8SEdward Tomasz Napieraladirectories that have not yet been created. 723914ddf8SEdward Tomasz Napierala.It Fl m Ar maxproc 733914ddf8SEdward Tomasz NapieralaLimit the number of forked 743914ddf8SEdward Tomasz Napierala.Nm 753914ddf8SEdward Tomasz Napieralaprocesses, and thus the number of mount requests being handled in parallel. 763914ddf8SEdward Tomasz NapieralaThe default is 30. 773914ddf8SEdward Tomasz Napierala.It Fl d 783914ddf8SEdward Tomasz NapieralaDebug mode: increase verbosity and do not daemonize. 793914ddf8SEdward Tomasz Napierala.It Fl o Ar options 803914ddf8SEdward Tomasz NapieralaSpecify mount options. 817b74285fSEdward Tomasz NapieralaOptions specified here will be overridden by options entered in maps or 823914ddf8SEdward Tomasz Napierala.Xr auto_master 5 . 833914ddf8SEdward Tomasz Napierala.It Fl v 843914ddf8SEdward Tomasz NapieralaIncrease verbosity. 853914ddf8SEdward Tomasz Napierala.El 863914ddf8SEdward Tomasz Napierala.Sh EXIT STATUS 873914ddf8SEdward Tomasz Napierala.Ex -std 883914ddf8SEdward Tomasz Napierala.Sh SEE ALSO 891a720cbeSAlexander Ziaee.Xr autofs 4 , 903914ddf8SEdward Tomasz Napierala.Xr auto_master 5 , 913914ddf8SEdward Tomasz Napierala.Xr automount 8 , 923914ddf8SEdward Tomasz Napierala.Xr autounmountd 8 933914ddf8SEdward Tomasz Napierala.Sh HISTORY 943914ddf8SEdward Tomasz NapieralaThe 953914ddf8SEdward Tomasz Napierala.Nm 963914ddf8SEdward Tomasz Napieraladaemon appeared in 973914ddf8SEdward Tomasz Napierala.Fx 10.1 . 983914ddf8SEdward Tomasz Napierala.Sh AUTHORS 993914ddf8SEdward Tomasz NapieralaThe 1003914ddf8SEdward Tomasz Napierala.Nm 1013914ddf8SEdward Tomasz Napieralawas developed by 1023914ddf8SEdward Tomasz Napierala.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org 1033914ddf8SEdward Tomasz Napieralaunder sponsorship from the FreeBSD Foundation. 104