Module Name:    src
Committed By:   jruoho
Date:           Tue Apr 20 06:22:52 UTC 2010

Modified Files:
        src/share/man/man7: sysctl.7

Log Message:
Document the kern.module node.


To generate a diff of this commit:
cvs rdiff -u -r1.41 -r1.42 src/share/man/man7/sysctl.7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man7/sysctl.7
diff -u src/share/man/man7/sysctl.7:1.41 src/share/man/man7/sysctl.7:1.42
--- src/share/man/man7/sysctl.7:1.41	Tue Apr 20 06:12:06 2010
+++ src/share/man/man7/sysctl.7	Tue Apr 20 06:22:52 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: sysctl.7,v 1.41 2010/04/20 06:12:06 jruoho Exp $
+.\"	$NetBSD: sysctl.7,v 1.42 2010/04/20 06:22:52 jruoho Exp $
 .\"
 .\" Copyright (c) 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -284,7 +284,7 @@
 .It kern.memlock	integer	no
 .It kern.memlock_range	integer	no
 .It kern.memory_protection	integer	no
-.\".It kern.module	node	not applicable
+.It kern.module	node	not applicable
 .It kern.monotonic_clock	integer	no
 .It kern.msgbuf	integer	no
 .It kern.msgbufsize	integer	no
@@ -668,8 +668,26 @@
 Returns 1 if the POSIX 1003.1b Memory Protection Option is available
 on this system,
 otherwise 0.
-.\" .It Li kern.module
-.\" XXX: Undocumented.
+.It Li kern.module
+Settings related to kernel modules.
+The third level names for the settings are described below.
+.Bl -column "kern.module.autoload" "integer" "Changeable" -offset indent
+.It Sy Third level name	Type	Changeable
+.It kern.module.autoload	integer	yes
+.It kern.module.verbose	integer	yes
+.El
+.Pp
+The variables are as follows:
+.Bl -tag -width "123456"
+.It Li kern.module.autoload
+A boolean that controls whether kernel modules are loaded automatically.
+See for example
+.Xr modstat 8
+for additional details.
+.It Li kern.module.verbose
+A boolean that enables or disables verbose
+debug messages related to kernel modules.
+.El
 .It Li kern.monotonic_clock ( KERN_MONOTONIC_CLOCK )
 Returns the standard version the implementation of the POSIX 1003.1b
 Monotonic Clock Option conforms to,

Reply via email to