summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2018-04-16 17:06:18 +0000
committertrasz <trasz@FreeBSD.org>2018-04-16 17:06:18 +0000
commit08d77bfe0bb02f1d8911affa16a659cb4abe38eb (patch)
tree82fe73147e81bef65e1b6828667c9c78382de84d /share
parent05fd0fc63cf0092402998a37f7bcdc882462f078 (diff)
downloadFreeBSD-src-08d77bfe0bb02f1d8911affa16a659cb4abe38eb.zip
FreeBSD-src-08d77bfe0bb02f1d8911affa16a659cb4abe38eb.tar.gz
MFC r326471:
Document autofs(6) sysctl variables. PR: 219414
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/autofs.541
1 files changed, 40 insertions, 1 deletions
diff --git a/share/man/man5/autofs.5 b/share/man/man5/autofs.5
index 91a4480..75eb997 100644
--- a/share/man/man5/autofs.5
+++ b/share/man/man5/autofs.5
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd September 3, 2014
+.Dd December 2, 2017
.Dt AUTOFS 5
.Os
.Sh NAME
@@ -68,6 +68,45 @@ Mount options for all filesystems specified in the map entry.
.It Cm master_prefix
Filesystem mountpoint prefix.
.El
+.Sh SYSCTL VARIABLES
+The following variables are available as both
+.Xr sysctl 8
+variables and
+.Xr loader 8
+tunables:
+.Bl -tag -width indent
+.It Va vfs.autofs.debug
+Verbosity level for log messages from the
+.Nm
+driver.
+Set to 0 to disable logging or 1 to warn about potential problems.
+Larger values enable debugging output.
+Defaults to 1.
+.It Va vfs.autofs.interruptible
+Set to 1 to allow mount requests to be interrupted by signal.
+Defaults to 1.
+.It Va vfs.autofs.retry_delay
+Number of seconds before retrying mount requests.
+Defaults to 1.
+.It Va vfs.autofs.retry_attempts
+Number of attempts before failing mount.
+Defaults to 3.
+.It Va vfs.autofs.cache
+Number of seconds to wait before reinvoking
+.Xr automountd 8
+for any given file or directory.
+Defaults to 600.
+.It Va vfs.autofs.timeout
+Number of seconds to wait for
+.Xr automountd 8
+to handle the mount request.
+Defaults to 30.
+.It Va vfs.autofs.mount_on_stat
+Set to 1 to trigger mount on
+.Xr stat 2
+on mountpoint.
+Defaults to 0.
+.El
.Sh EXAMPLES
To unmount all mounted
.Nm
OpenPOWER on IntegriCloud