Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/share/man/man7/sysctl.7,v rcsdiff: /ftp/cvs/cvsroot/src/share/man/man7/sysctl.7,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.49 retrieving revision 1.52 diff -u -p -r1.49 -r1.52 --- src/share/man/man7/sysctl.7 2010/07/31 02:00:49 1.49 +++ src/share/man/man7/sysctl.7 2010/12/11 19:55:53 1.52 @@ -1,4 +1,4 @@ -.\" $NetBSD: sysctl.7,v 1.49 2010/07/31 02:00:49 jruoho Exp $ +.\" $NetBSD: sysctl.7,v 1.52 2010/12/11 19:55:53 jruoho Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95 .\" -.Dd July 31, 2010 +.Dd December 11, 2010 .Dt SYSCTL 7 .Os .Sh NAME @@ -68,7 +68,7 @@ sysctl variable relative to the upper le See the .Xr sysctl 3 manual page for programming examples. -.Sh Top level names +.Ss Top level names The top level names are defined with a CTL_ prefix in .In sys/sysctl.h , and are as follows. @@ -90,7 +90,7 @@ listed here, and described in separate s .It emul CTL_EMUL sys/sysctl.h Emulation settings .It security CTL_SECURITY sys/sysctl.h Security settings .El -.Sh The debug.* subtree +.Ss The debug.* subtree The debugging variables vary from system to system. A debugging variable may be added or deleted without need to recompile .Nm @@ -128,7 +128,7 @@ See .\" and .\" .Xr sysctl 9 for more information. -.Sh The vfs.* subtree +.Ss The vfs.* subtree A distinguished second level name, .Li vfs.generic ( VFS_GENERIC ) , is used to get general information about all filesystems. @@ -149,7 +149,7 @@ call or from The third level identifiers available for each filesystem are given in the header file that defines the mount argument structure for that filesystem. -.Sh The hw.* subtree +.Ss The hw.* subtree The string and integer information available for the .Li hw level is detailed below. @@ -229,7 +229,7 @@ The bytes of non-kernel memory as a 32-b .It Li hw.usermem64 ( HW_USERMEM64 ) The bytes of non-kernel memory as a 64-bit integer. .El -.Sh The kern.* subtree +.Ss The kern.* subtree This subtree includes data generally related to the kernel. The string and integer information available for the .Li kern @@ -239,6 +239,8 @@ privilege may change the value. .Bl -column "kern.posix_reader_writer_locks" \ "struct kinfo_drivers" "not applicable" .It Sy Second level name Type Changeable +.It kern.aio_listio_max integer yes +.It kern.aio_max integer yes .It kern.arandom integer no .It kern.argmax integer no .It kern.boothowto integer no @@ -296,6 +298,7 @@ privilege may change the value. .It kern.pipe node not applicable .\" .It kern.posix node not applicable .It kern.posix1version integer no +.It kern.posix_aio integer no .It kern.posix_barriers integer no .It kern.posix_reader_writer_locks integer no .\".It kern.posix_sched integer yes @@ -329,6 +332,16 @@ privilege may change the value. .It kern.vnode struct vnode no .El .Bl -tag -width "123456" +.It Li kern.aio_listio_max +The maximum number of asynchronous +.Tn I/O +operations in a single list I/O call. +Like with all variables related to +.Xr aio 3 , +the variable may be created and removed dynamically +upon loading or unloading the corresponding kernel module. +.It Li kern.aio_max +The maximum number of asynchronous I/O operations. .It Li kern.arandom This variable picks a random number each time it is queried. The used random number generator @@ -686,8 +699,8 @@ 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 +See +.Xr module 9 for additional details. .It Li kern.module.verbose A boolean that enables or disables verbose @@ -784,6 +797,10 @@ Number of "big" pipes. .It Li kern.posix1version ( KERN_POSIX1 ) The version of ISO/IEC 9945 (POSIX 1003.1) with which the system attempts to comply. +.It Li kern.posix_aio +The version of +.St -p1003.1 +and its Asynchronous I/O option to which the system attempts to conform. .It Li kern.posix_barriers ( KERN_POSIX_BARRIERS ) The version of .St -p1003.1 @@ -1038,7 +1055,7 @@ followed by the vnode itself .Va struct vnode . .\" XXX: Undocumented: kern.lwp: no children? .El -.Sh The machdep.* subtree +.Ss The machdep.* subtree The set of variables defined is architecture dependent. Most architectures define at least the following variables. .Bl -column "machdep.booted_kernel" "Type" "Changeable" -offset indent @@ -1046,7 +1063,7 @@ Most architectures define at least the f .It Li machdep.booted_kernel string no .El .\" XXX: Document the above. -.Sh The net.* subtree +.Ss The net.* subtree The string and integer information available for the .Li net level is detailed below. @@ -1771,7 +1788,7 @@ The value is used when the kernel create on ACQUIRE PF_KEY message. .El .El -.Sh The proc.* subtree +.Ss The proc.* subtree The string and integer information available for the .Li proc level is detailed below. @@ -1903,7 +1920,7 @@ before it disappears. .Pp This value is also inherited by the process's children. .El -.Sh The user.* subtree ( CTL_USER ) +.Ss The user.* subtree ( CTL_USER ) The string and integer information available for the .Li user level is detailed below. @@ -2004,7 +2021,7 @@ at any one time. The minimum maximum number of types supported for the name of a timezone. .El -.Sh The vm.* subtree ( CTL_VM ) +.Ss The vm.* subtree ( CTL_VM ) The string and integer information available for the .Li vm level is detailed below. @@ -2085,7 +2102,7 @@ The returned data consists of a .Va struct uvmexp_sysctl . .\" XXX vm.idlezero .El -.Sh The ddb.* subtree ( CTL_DDB ) +.Ss The ddb.* subtree ( CTL_DDB ) The information available for the .Li ddb level is detailed below. @@ -2137,7 +2154,7 @@ nodes are also available as variables fr See .Xr ddb 4 for more details. -.Sh The security.* subtree ( CTL_SECURITY ) +.Ss The security.* subtree ( CTL_SECURITY ) The .Li security level contains various security-related settings for @@ -2279,7 +2296,7 @@ Number of seconds to suspend a user from limit was exceeded. .El .El -.Sh The vendor.* subtree ( CTL_VENDOR ) +.Ss The vendor.* subtree ( CTL_VENDOR ) The .Li vendor toplevel name is reserved to be used by vendors who wish to