From owner-cvs-all Sat Jan 9 11:05:57 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA28704 for cvs-all-outgoing; Sat, 9 Jan 1999 11:05:57 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA28697 for ; Sat, 9 Jan 1999 11:05:54 -0800 (PST) (envelope-from des@flood.ping.uio.no) Received: (from des@localhost) by flood.ping.uio.no (8.9.1/8.9.1) id UAA57138; Sat, 9 Jan 1999 20:02:16 +0100 (CET) (envelope-from des) To: Poul-Henning Kamp Cc: Dag-Erling Smorgrav , committers@FreeBSD.ORG Subject: Re: sysctl descriptions References: <16342.915881490@critter.freebsd.dk> From: Dag-Erling Smorgrav Date: 09 Jan 1999 20:02:14 +0100 In-Reply-To: Poul-Henning Kamp's message of "Sat, 09 Jan 1999 12:31:30 +0100" Message-ID: Lines: 32 X-Mailer: Gnus v5.5/Emacs 19.34 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Poul-Henning Kamp 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 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. 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