NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46539: Kernel messages: sysctl to change verbosity



The following reply was made to PR kern/46539; it has been noted by GNATS.

From: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/46539: Kernel messages: sysctl to change verbosity
Date: Mon, 4 Jun 2012 18:41:52 +1000

 Hi.
 
 I've modified sysctl.7 with the settings.
 
 This is my first attempt at such a thing, I hope you like it :)
 
 
 Index: share/man/man7/sysctl.7
 ===================================================================
 RCS file: /cvsroot/src/share/man/man7/sysctl.7,v
 retrieving revision 1.69
 diff -u -r1.69 sysctl.7
 --- share/man/man7/sysctl.7     22 Mar 2012 07:58:18 -0000      1.69
 +++ share/man/man7/sysctl.7     4 Jun 2012 08:40:48 -0000
 @@ -311,6 +311,7 @@
  .It kern.maxproc       integer yes
  .It kern.maxptys       integer yes
  .It kern.maxvnodes     integer yes
 +.It kern.messages      integer yes
  .It kern.mbuf  node    not applicable
  .It kern.memlock       integer no
  .It kern.memlock_range integer no
 @@ -729,6 +730,18 @@
  .St -p1003.1b-93
  Memory Protection Option is available on this system,
  otherwise\ 0.
 +.It Li kern.messages
 +Kernel console message verbosity.
 +See
 +.Sy \<sys/reboot.h\>
 +.Bl -column "verbosity" "setting" -offset indent
 +.It Sy Verbosity       Setting
 +.It \ \ \ \ 0  Silent Sy AB_SILENT
 +.It \ \ \ \ 1  Quiet Sy AB_QUIET
 +.It \ \ \ \ 2  Normal Sy AB_NORMAL
 +.It \ \ \ \ 3  Verbose Sy AB_VERBOSE
 +.It \ \ \ \ 4  Debug Sy AB_DEBUG
 +.El
  .It Li kern.module
  Settings related to kernel modules.
  The third level names for the settings are described below.
 
 
 Note: This submission is my own work which I submit under the NetBSD license.
 
 
 Where do I find out more about man page macros etc like ".Sy"?
 
 Regards,
 
 Nat.
 


Home | Main Index | Thread Index | Old Index