From owner-cvs-all Mon Dec 17 16:26:44 2001 Delivered-To: cvs-all@freebsd.org Received: from elvis.mu.org (elvis.mu.org [216.33.66.196]) by hub.freebsd.org (Postfix) with ESMTP id E405E37B405; Mon, 17 Dec 2001 16:26:34 -0800 (PST) Received: by elvis.mu.org (Postfix, from userid 1192) id 66E1A81E0B; Mon, 17 Dec 2001 18:26:29 -0600 (CST) Date: Mon, 17 Dec 2001 18:26:29 -0600 From: Alfred Perlstein To: Peter Wemm Cc: Luigi Rizzo , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys sysctl.h src/sys/kern kern_sysctl.c src/sbin/sysctl sysctl.8 sysctl.c Message-ID: <20011217182629.H82439@elvis.mu.org> References: <200112160255.fBG2tfi90738@freefall.freebsd.org> <20011218002032.1FAB938CC@overcee.netplex.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20011218002032.1FAB938CC@overcee.netplex.com.au>; from peter@wemm.org on Mon, Dec 17, 2001 at 04:20:32PM -0800 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Peter Wemm [011217 18:20] wrote: > Luigi Rizzo wrote: > > luigi 2001/12/15 18:55:41 PST > > > > Modified files: > > sys/sys sysctl.h > > sys/kern kern_sysctl.c > > sbin/sysctl sysctl.8 sysctl.c > > Log: > > Add code to export and print the description associated to sysctl > > variables. Use the -d flag in sysctl(8) to see this information. > > Sigh. Here we go again... :-( > > ---------------------------- > revision 1.70 > date: 1999/01/10 07:45:27; author: phk; state: Exp; lines: +0 -10 > branches: 1.70.2; > Back out last change to sysctl. Hmm, y'know, using the pre-processor we could have the documentation inline within the kernel however a program could filter the source files to extract the sysctl descriptions which would then be dumped into /usr/share/sysctl/net/inet/tcp/newreno or something that sysctl could then grab. How does that sound? -Alfred To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message