From owner-cvs-all Mon Jan 11 06:24:31 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA08636 for cvs-all-outgoing; Mon, 11 Jan 1999 06:24:31 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from andrew.cmu.edu (ANDREW.CMU.EDU [128.2.10.101]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id GAA08623 for ; Mon, 11 Jan 1999 06:24:25 -0800 (PST) (envelope-from tcrimi+@andrew.cmu.edu) Received: (from postman@localhost) by andrew.cmu.edu (8.8.5/8.8.2) id JAA15554; Mon, 11 Jan 1999 09:23:48 -0500 (EST) Received: via switchmail; Mon, 11 Jan 1999 09:23:47 -0500 (EST) Received: from unix8.andrew.cmu.edu via qmail ID ; Mon, 11 Jan 1999 09:23:06 -0500 (EST) Received: from unix8.andrew.cmu.edu via qmail ID ; Mon, 11 Jan 1999 09:23:05 -0500 (EST) Received: from mms.4.60.Jun.27.1996.03.02.53.sun4.51.EzMail.2.0.CUILIB.3.45.SNAP.NOT.LINKED.unix8.andrew.cmu.edu.sun4m.54 via MS.5.6.unix8.andrew.cmu.edu.sun4_51; Mon, 11 Jan 1999 09:23:05 -0500 (EST) Message-ID: Date: Mon, 11 Jan 1999 09:23:05 -0500 (EST) From: Thomas Valentino Crimi To: Brian Somers , Mike Smith Subject: Re: sysctl descriptions Cc: Mike Smith , committers@FreeBSD.ORG In-Reply-To: <199901110458.UAA86420@dingo.cdrom.com> References: <199901110458.UAA86420@dingo.cdrom.com> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk Excerpts from FreeBSD-CVS: 10-Jan-99 Re: sysctl descriptions by Mike Smith@smith.net.au > I have a driver for a new peripheral. It's from a vendor that doesn't > want to distribute source code, so the driver comes as a KLD module. > The driver has a number of tuning options, which are exposed via the > sysctl MIB. This is where, despite having heard arguments against it, I find putting the data in /usr/share,/usr/local/share appealing, for say, make world (*cough*) or the 3rd party KLD installation software to install. Granted that the latter seems to be more of a problem. A dual mechanism, allowing for sysctl to look up the definitions via sysctl_desc, and, if blank, turn to /usr/share/sysctl/mib/some/odd/option and check for a file there. Maybe then we get the best of both worlds. Having make world get at the defintions seems like hell, though. How much could anyone be for pulling man-like-data out of source comments or source itself? I know I'm not. The need for short but also maybe more importatly long sysctl descriptions does exist. In a way, I have to agree that <80char descriptions are only slightly better than the mib name itself. Since the user currently has to troll through source for a lot of the descriptions, maybe it's not too far from having make world do the same. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message