docs/98801: gmirror(8) and glabel(8) manpages should mention geom_{mirror, label}_load
Peter Schuller
peter.schuller at infidyne.com
Sun Jun 11 11:20:19 UTC 2006
>Number: 98801
>Category: docs
>Synopsis: gmirror(8) and glabel(8) manpages should mention geom_{mirror,label}_load
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 11 11:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Peter Schuller <peter.schuller at infidyne.com>
>Release: FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD starfury.scode.org 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #1: Thu Feb 23 16:56:26 CET 2006 scode at starfury.scode.org:/usr/obj/usr/src/sys/STARFURY i386
>Description:
The geom_mirror_load and geom_label_load sysctl variables should be
mentioned in their classes' respective manpages. I suspect the same
is true for the other classes, but I have not personally tried it
so I am not including it in the patch.
>How-To-Repeat:
>Fix:
--- sbin/geom/class/mirror/gmirror.8.orig Sun Jun 11 12:44:23 2006
+++ sbin/geom/class/mirror/gmirror.8 Sun Jun 11 13:05:08 2006
@@ -229,6 +229,19 @@
.It Fl v
Be more verbose.
.El
+.Sh SYSCTL VARIABLES
+The following
+.Xr sysctl 8
+variables can be used to control the behavior of
+the
+.Nm MIRROR
+GEOM class. The default value is shown next to each variable.
+.Bl -tag -width indent
+.It Va geom_mirror_load : No 0
+When set to 1, instructs the kernel to automatically load the
+.Nm MIRROR
+GEOM class on boot.
+.El
.Sh EXIT STATUS
Exit status is 0 on success, and 1 if the command fails.
.Sh EXAMPLES
--- sbin/geom/class/label/glabel.8.orig Sun Jun 11 13:05:42 2006
+++ sbin/geom/class/label/glabel.8 Sun Jun 11 13:06:29 2006
@@ -184,6 +184,10 @@
This can be set to a number between 0 and 2 inclusive.
If set to 0 minimal debug information is printed, and if set to 2 the
maximum amount of debug information is printed.
+.It Va geom_label_load : No 0
+When set to 1, instructs the kernel to automatically load the
+.Nm LABEL
+GEOM class on boot.
.El
.Sh EXIT STATUS
Exit status is 0 on success, and 1 if the command fails.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list