Document autofs(6) sysctl variables.

PR:		219414
MFC after:	2 weeks
This commit is contained in:
Edward Tomasz Napierala 2017-12-02 13:12:00 +00:00
parent 693ba58ff6
commit dd4b2a8945
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326471

View file

@ -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