diff options
author | pjd <pjd@FreeBSD.org> | 2004-07-13 12:32:20 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-07-13 12:32:20 +0000 |
commit | ec7d60de6989afd395a03fbf1d0f4b715b1fdac2 (patch) | |
tree | cf6030f74f8660c340b0c47a2d819a471598c949 | |
parent | 7e02e14d6da2eaacdf4faa6b18d06bb453c1233f (diff) | |
download | FreeBSD-src-ec7d60de6989afd395a03fbf1d0f4b715b1fdac2.zip FreeBSD-src-ec7d60de6989afd395a03fbf1d0f4b715b1fdac2.tar.gz |
Document sysctl variables.
Based on: simon's patch
-rw-r--r-- | sbin/geom/class/concat/gconcat.8 | 18 | ||||
-rw-r--r-- | sbin/geom/class/label/glabel.8 | 18 | ||||
-rw-r--r-- | sbin/geom/class/nop/gnop.8 | 16 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sbin/geom/class/concat/gconcat.8 b/sbin/geom/class/concat/gconcat.8 index f4ee294..e47cedf 100644 --- a/sbin/geom/class/concat/gconcat.8 +++ b/sbin/geom/class/concat/gconcat.8 @@ -137,6 +137,22 @@ Force the removal of the specified concatenated device. .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 CONCAT +GEOM class. +The default value is shown next to each variable. +.Bl -tag -width indent +.It Va kern.geom.concat.debug : No 0 +Debug level of the +.Nm CONCAT +GEOM class. +This can be set to a number between 0 and 3, both included. +If set to 0 minimal debug information is printed, and if set to 3 the +maximum amount of debug information in printed. +.El .Sh EXAMPLES The following example shows how to configure four disks for automatic concatenation, create a file system on it, and mount it: @@ -153,9 +169,11 @@ gconcat unload Exit status is 0 on success, and 1 if the command fails. .Sh SEE ALSO .Xr geom 4 , +.Xr loader.conf 5 , .Xr geom 8 , .Xr mount 8 , .Xr newfs 8 , +.Xr sysctl 8 , .Xr umount 8 , .Xr vinum 8 .Sh HISTORY diff --git a/sbin/geom/class/label/glabel.8 b/sbin/geom/class/label/glabel.8 index aeef74b..cbf7615 100644 --- a/sbin/geom/class/label/glabel.8 +++ b/sbin/geom/class/label/glabel.8 @@ -160,6 +160,22 @@ Force the removal of the specified labels. .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 LABEL +GEOM class. +The default value is shown next to each variable. +.Bl -tag -width indent +.It Va kern.geom.label.debug : No 0 +Debug level of the +.Nm LABEL +GEOM class. +This can be set to a number between 0 and 2, both included. +If set to 0 minimal debug information is printed, and if set to 2 the +maximum amount of debug information in printed. +.El .Sh EXAMPLES The following example shows how to set up a label for disk .Dq Li da2 , @@ -183,9 +199,11 @@ mount /dev/ufs/data /mnt/data Exit status is 0 on success, and 1 if the command fails. .Sh SEE ALSO .Xr geom 4 , +.Xr loader.conf 5 , .Xr geom 8 , .Xr mount 8 , .Xr newfs 8 , +.Xr sysctl 8 , .Xr tunefs 8 , .Xr umount 8 .Sh HISTORY diff --git a/sbin/geom/class/nop/gnop.8 b/sbin/geom/class/nop/gnop.8 index 121f46b..8ef9bab 100644 --- a/sbin/geom/class/nop/gnop.8 +++ b/sbin/geom/class/nop/gnop.8 @@ -106,6 +106,22 @@ Specifies failure probability in percentage. .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 NOP +GEOM class. +The default value is shown next to each variable. +.Bl -tag -width indent +.It Va kern.geom.nop.debug : No 0 +Debug level of the +.Nm NOP +GEOM class. +This can be set to a number between 0 and 2, both included. +If set to 0 minimal debug information is printed, and if set to 2 the +maximum amount of debug information in printed. +.El .Sh EXAMPLES The following example shows how to create a transparent provider for disk .Pa /dev/da0 |