Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jan 1999 11:25:30 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Dag-Erling Smorgrav <des@flood.ping.uio.no>
Cc:        Poul-Henning Kamp <phk@critter.freebsd.dk>, committers@FreeBSD.ORG
Subject:   Re: sysctl descriptions
Message-ID:  <Pine.BSF.3.95.990109112156.8555A-100000@current1.whistle.com>
In-Reply-To: <xzpr9t49snd.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
I've often wondered about this..
certainly it would be possible to have an option that makes the 
build process leave out all descriptions.
Since it's all done through macros anyhow it would seem to be trivial.
A description would be a useful thing in some of these variables..
Personally I'd have the code in and dissabled by a general well documented 
"REDUCE_BLOAT" option.

On 9 Jan 1999, Dag-Erling Smorgrav wrote:

> Poul-Henning Kamp <phk@critter.freebsd.dk> writes:
> > In message <86u2y0btan.fsf@niobe.ewox.org>, Dag-Erling Smorgrav writes:
> > >The attached patches implement a mechanism for retrieving a sysctl's
> > >description. I haven't tested the patches yet, but they compile
> > >cleanly against a fairly recent (couple of hours old) -current.
> > This was deliberately not done initially, sticking goops of ascii
> > in the kernel doesn't seem optimal.
> > 
> > The intention was to have a program perambulate /sys and gather
> > the stuff into a man-page or share/misc/sysctl.desc file or similar
> 
> <rant>
> OK, let's just ignore that somebody has spent time and effort to
> produce actual, working, value-adding code, since we already have
> vaporware which may or may not become real code some day, and may save
> us from a 0.04% increase¹ of the size of the kernel at the expense of
> adding yet more complexity to an already burdened build system.
> </rant>
> 
> If having sysctl descriptions in the kernel really is a problem for
> some people, it's trivial to add a kernel option to disable my code.
> 
> How will the system you describe deal with sysctls located in
> third-party, binary-only KLDs?
> 
> 
> ¹ Yes, I measured. It'll be a little more when all sysctls have
> descriptions.
> 
> DES
> -- 
> Dag-Erling Smorgrav - des@flood.ping.uio.no
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990109112156.8555A-100000>