xref: /netbsd-src/usr.sbin/autofs/autounmountd.8 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.\" $NetBSD: autounmountd.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 AUTOUNMOUNTD 8
39.Os
40.Sh NAME
41.Nm autounmountd
42.Nd daemon unmounting automounted file systems
43.Sh SYNOPSIS
44.Nm
45.Op Fl r Ar time
46.Op Fl t Ar time
47.Op Fl dv
48.Sh DESCRIPTION
49The
50.Nm
51daemon is responsible for unmounting file systems mounted by
52.Xr automountd 8 .
53On startup,
54.Nm
55retrieves a list of file systems that have the
56.Li automounted
57mount option set.
58The list is updated every time a file system is mounted or unmounted.
59After a specified time passes,
60.Nm
61attempts to unmount a file system, retrying after some time if necessary.
62.Pp
63These options are available:
64.Bl -tag -width ".Fl v"
65.It Fl d
66Debug mode: increase verbosity and do not daemonize.
67.It Fl r
68Number of seconds to wait before trying to unmount an expired file system
69after a previous attempt failed, possibly due to file system being busy.
70The default value is 600, or ten minutes.
71.It Fl t
72Number of seconds to wait before trying to unmount a file system.
73The default value is 600, or ten minutes.
74.It Fl v
75Increase verbosity.
76.El
77.Sh EXIT STATUS
78.Ex -std
79.Sh SEE ALSO
80.Xr auto_master 5 ,
81.Xr autofs 5 ,
82.Xr automount 8 ,
83.Xr automountd 8
84.Sh HISTORY
85The
86.Nm
87daemon appeared in
88.Fx 10.1 .
89The
90.Nm
91daemon appeared in
92.Dx 4.5 .
93The
94.Nm
95command appeared in
96.Nx 9.0 .
97.Sh AUTHORS
98.An -nosplit
99The
100.Nm
101was developed by
102.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
103under sponsorship from the
104.Fx
105Foundation.
106.Pp
107.Nm
108was ported to
109.Dx
110and
111.Nx
112by
113.An Tomohiro Kusumi Aq Mt kusumi.tomohiro@gmail.com .
114