1*b94e4467Stkusumi.\" $NetBSD: autounmountd.8,v 1.4 2019/11/21 15:24:17 tkusumi Exp $ 22df58e16Swiz.\" 3b985414bSchristos.\" Copyright (c) 2017 The NetBSD Foundation, Inc. 4b985414bSchristos.\" Copyright (c) 2016 The DragonFly Project 5b985414bSchristos.\" Copyright (c) 2014 The FreeBSD Foundation 6b985414bSchristos.\" All rights reserved. 7b985414bSchristos.\" 8b985414bSchristos.\" This code is derived from software contributed to The NetBSD Foundation 9b985414bSchristos.\" by Tomohiro Kusumi. 10b985414bSchristos.\" 11b985414bSchristos.\" This software was developed by Edward Tomasz Napierala under sponsorship 12b985414bSchristos.\" from the FreeBSD Foundation. 13b985414bSchristos.\" 14b985414bSchristos.\" Redistribution and use in source and binary forms, with or without 15b985414bSchristos.\" modification, are permitted provided that the following conditions 16b985414bSchristos.\" are met: 17b985414bSchristos.\" 1. Redistributions of source code must retain the above copyright 18b985414bSchristos.\" notice, this list of conditions and the following disclaimer. 19b985414bSchristos.\" 2. Redistributions in binary form must reproduce the above copyright 20b985414bSchristos.\" notice, this list of conditions and the following disclaimer in the 21b985414bSchristos.\" documentation and/or other materials provided with the distribution. 22b985414bSchristos.\" 23b985414bSchristos.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND 24b985414bSchristos.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 25b985414bSchristos.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 26b985414bSchristos.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE 27b985414bSchristos.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 28b985414bSchristos.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 29b985414bSchristos.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 30b985414bSchristos.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 31b985414bSchristos.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 32b985414bSchristos.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 33b985414bSchristos.\" SUCH DAMAGE. 34b985414bSchristos.\" 35b985414bSchristos.\" $FreeBSD$ 36b985414bSchristos.\" 37b985414bSchristos.Dd November 25, 2017 38b985414bSchristos.Dt AUTOUNMOUNTD 8 39b985414bSchristos.Os 40b985414bSchristos.Sh NAME 41b985414bSchristos.Nm autounmountd 42b985414bSchristos.Nd daemon unmounting automounted file systems 43b985414bSchristos.Sh SYNOPSIS 44b985414bSchristos.Nm 45b985414bSchristos.Op Fl r Ar time 46b985414bSchristos.Op Fl t Ar time 472df58e16Swiz.Op Fl dv 48b985414bSchristos.Sh DESCRIPTION 49b985414bSchristosThe 50b985414bSchristos.Nm 51b985414bSchristosdaemon is responsible for unmounting file systems mounted by 52b985414bSchristos.Xr automountd 8 . 53b985414bSchristosOn startup, 54b985414bSchristos.Nm 55b985414bSchristosretrieves a list of file systems that have the 56b985414bSchristos.Li automounted 57b985414bSchristosmount option set. 58b985414bSchristosThe list is updated every time a file system is mounted or unmounted. 59b985414bSchristosAfter a specified time passes, 60b985414bSchristos.Nm 61b985414bSchristosattempts to unmount a file system, retrying after some time if necessary. 62b985414bSchristos.Pp 63b985414bSchristosThese options are available: 64b985414bSchristos.Bl -tag -width ".Fl v" 65b985414bSchristos.It Fl d 66b985414bSchristosDebug mode: increase verbosity and do not daemonize. 67b985414bSchristos.It Fl r 68b985414bSchristosNumber of seconds to wait before trying to unmount an expired file system 69b985414bSchristosafter a previous attempt failed, possibly due to file system being busy. 70b985414bSchristosThe default value is 600, or ten minutes. 71b985414bSchristos.It Fl t 72b985414bSchristosNumber of seconds to wait before trying to unmount a file system. 73b985414bSchristosThe default value is 600, or ten minutes. 74b985414bSchristos.It Fl v 75b985414bSchristosIncrease verbosity. 76b985414bSchristos.El 77b985414bSchristos.Sh EXIT STATUS 78b985414bSchristos.Ex -std 79b985414bSchristos.Sh SEE ALSO 80b985414bSchristos.Xr auto_master 5 , 812df58e16Swiz.Xr autofs 5 , 82b985414bSchristos.Xr automount 8 , 83b985414bSchristos.Xr automountd 8 84b985414bSchristos.Sh HISTORY 85b985414bSchristosThe 86b985414bSchristos.Nm 87b985414bSchristosdaemon appeared in 88b985414bSchristos.Fx 10.1 . 89b985414bSchristosThe 90b985414bSchristos.Nm 91b985414bSchristosdaemon appeared in 92b985414bSchristos.Dx 4.5 . 93b985414bSchristosThe 94b985414bSchristos.Nm 95b985414bSchristoscommand appeared in 96b985414bSchristos.Nx 9.0 . 97b985414bSchristos.Sh AUTHORS 9825223566Suwe.An -nosplit 99b985414bSchristosThe 100b985414bSchristos.Nm 101b985414bSchristoswas developed by 102b985414bSchristos.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org 1032df58e16Swizunder sponsorship from the 1042df58e16Swiz.Fx 1052df58e16SwizFoundation. 106b985414bSchristos.Pp 107b985414bSchristos.Nm 108b985414bSchristoswas ported to 109b985414bSchristos.Dx 110b985414bSchristosand 111b985414bSchristos.Nx 112b985414bSchristosby 113*b94e4467Stkusumi.An Tomohiro Kusumi Aq Mt tkusumi@netbsd.org . 114