xref: /freebsd/usr.sbin/autofs/autounmountd.8 (revision e67e85659c0de33e617e5fbf1028c6e8b49eee53)
1.\" Copyright (c) 2014 The FreeBSD Foundation
2.\"
3.\" This software was developed by Edward Tomasz Napierala under sponsorship
4.\" from the FreeBSD Foundation.
5.\"
6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright
10.\"    notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\"    notice, this list of conditions and the following disclaimer in the
13.\"    documentation and/or other materials provided with the distribution.
14.\"
15.\" THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND
16.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE
19.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25.\" SUCH DAMAGE.
26.\"
27.\" $FreeBSD$
28.\"
29.Dd December 13, 2014
30.Dt AUTOUNMOUNTD 8
31.Os
32.Sh NAME
33.Nm autounmountd
34.Nd daemon unmounting automounted filesystems
35.Sh SYNOPSIS
36.Nm
37.Op Fl d
38.Op Fl r Ar time
39.Op Fl t Ar time
40.Op Fl v
41.Sh DESCRIPTION
42The
43.Nm
44daemon is responsible for unmounting filesystems mounted by
45.Xr automountd 8 .
46On startup,
47.Nm
48retrieves a list of filesystems that have the
49.Li automounted
50mount option set.
51The list is updated every time a filesystem is mounted or unmounted.
52After a specified time passes,
53.Nm
54attempts to unmount a filesystem, retrying after some time if necessary.
55.Pp
56These options are available:
57.Bl -tag -width ".Fl v"
58.It Fl d
59Debug mode: increase verbosity and do not daemonize.
60.It Fl r
61Number of seconds to wait before trying to unmount an expired filesystem
62after a previous attempt failed, possibly due to filesystem being busy.
63The default value is 600, or ten minutes.
64.It Fl t
65Number of seconds to wait before trying to unmount a filesystem.
66The default value is 600, or ten minutes.
67.It Fl v
68Increase verbosity.
69.El
70.Sh EXIT STATUS
71.Ex -std
72.Sh SEE ALSO
73.Xr auto_master 5 ,
74.Xr autofs 5 ,
75.Xr automount 8 ,
76.Xr automountd 8
77.Sh HISTORY
78The
79.Nm
80daemon appeared in
81.Fx 10.1 .
82.Sh AUTHORS
83The
84.Nm
85was developed by
86.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
87under sponsorship from the FreeBSD Foundation.
88