Date: Sat, 15 Dec 2001 18:55:41 -0800 (PST) From: Luigi Rizzo <luigi@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sys sysctl.h src/sys/kern kern_sysctl.c src/sbin/sysctl sysctl.8 sysctl.c Message-ID: <200112160255.fBG2tfi90738@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. Possible extensions to sysctl: + report variables that do not have a description + given a name, report the oid it maps to. Note to developers: have a look at your code, there are a number of variables which do not have a description. Note to developers: do we want this in 4.5 ? It is a very small change and very useful for documentation purposes. Suggested by: Orion Hodson Revision Changes Path 1.42 +3 -1 src/sbin/sysctl/sysctl.8 1.39 +16 -4 src/sbin/sysctl/sysctl.c 1.120 +27 -0 src/sys/kern/kern_sysctl.c 1.101 +2 -1 src/sys/sys/sysctl.h 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?200112160255.fBG2tfi90738>