From 08d77bfe0bb02f1d8911affa16a659cb4abe38eb Mon Sep 17 00:00:00 2001 From: trasz Date: Mon, 16 Apr 2018 17:06:18 +0000 Subject: MFC r326471: Document autofs(6) sysctl variables. PR: 219414 --- share/man/man5/autofs.5 | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) (limited to 'share') 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 -- cgit v1.1