xref: /freebsd/usr.sbin/autofs/autounmountd.8 (revision 22cf89c938886d14f5796fc49f9f020c23ea8eaf)
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.Dd December 13, 2014
28.Dt AUTOUNMOUNTD 8
29.Os
30.Sh NAME
31.Nm autounmountd
32.Nd daemon unmounting automounted filesystems
33.Sh SYNOPSIS
34.Nm
35.Op Fl d
36.Op Fl r Ar time
37.Op Fl t Ar time
38.Op Fl v
39.Sh DESCRIPTION
40The
41.Nm
42daemon is responsible for unmounting filesystems mounted by
43.Xr automountd 8 .
44On startup,
45.Nm
46retrieves a list of filesystems that have the
47.Li automounted
48mount option set.
49The list is updated every time a filesystem is mounted or unmounted.
50After a specified time passes,
51.Nm
52attempts to unmount a filesystem, retrying after some time if necessary.
53.Pp
54These options are available:
55.Bl -tag -width ".Fl v"
56.It Fl d
57Debug mode: increase verbosity and do not daemonize.
58.It Fl r
59Number of seconds to wait before trying to unmount an expired filesystem
60after a previous attempt failed, possibly due to filesystem being busy.
61The default value is 600, or ten minutes.
62.It Fl t
63Number of seconds to wait before trying to unmount a filesystem.
64The default value is 600, or ten minutes.
65.It Fl v
66Increase verbosity.
67.El
68.Sh EXIT STATUS
69.Ex -std
70.Sh SEE ALSO
71.Xr auto_master 5 ,
72.Xr autofs 5 ,
73.Xr automount 8 ,
74.Xr automountd 8
75.Sh HISTORY
76The
77.Nm
78daemon appeared in
79.Fx 10.1 .
80.Sh AUTHORS
81The
82.Nm
83was developed by
84.An Edward Tomasz Napierala Aq Mt trasz@FreeBSD.org
85under sponsorship from the FreeBSD Foundation.
86