Subject: Re: CVS commit: src/sys/kern
To: None <atatat@NetBSD.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: source-changes
Date: 04/08/2004 10:22:58
Why are the descriptions compiled into kernel? That seems as a waste
of space. They are perfectly fine being in the manpage, IMHO.

Jaromir

Andrew Brown wrote:
> 
> Module Name:	src
> Committed By:	atatat
> Date:		Thu Apr  8 06:20:30 UTC 2004
> 
> Modified Files:
> 	src/sys/kern: init_sysctl.c kern_ntptime.c kern_resource.c subr_prof.c
> 	    sys_pipe.c
> 
> Log Message:
> Lots of sysctl descriptions (if someone wants to help out here, that
> would be good) mostly copied from sysctl(3).  This takes care of the
> top-level, most of kern.* and hw.* (modulo the ath and bge stuff), and
> all of proc.*.
> 
> If you don't want the added rodata in your kernel, use "options
> SYSCTL_NO_DESCR" in your kernel config.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.25 -r1.26 src/sys/kern/init_sysctl.c
> cvs rdiff -r1.26 -r1.27 src/sys/kern/kern_ntptime.c
> cvs rdiff -r1.77 -r1.78 src/sys/kern/kern_resource.c
> cvs rdiff -r1.30 -r1.31 src/sys/kern/subr_prof.c
> cvs rdiff -r1.55 -r1.56 src/sys/kern/sys_pipe.c
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.
> 

-- 
Jaromir Dolecek <jdolecek@NetBSD.org>            http://www.NetBSD.cz/
-=- We should be mindful of the potential goal, but as the Buddhist -=-
-=- masters say, ``You may notice during meditation that you        -=-
-=- sometimes levitate or glow.   Do not let this distract you.''   -=-