On Tue, Dec 11, 2012 at 01:28:07AM +0000, Alfred Perlstein wrote: > Author: alfred > Date: Tue Dec 11 01:28:06 2012 > New Revision: 244106 > URL: http://svnweb.freebsd.org/changeset/base/244106 > > Log: > Allow sysctl to filter boot and runtime tunables. > > Add the following flags to sysctl: > -W - show only writable sysctls > -T - show only tuneable sysctls [...] > +.It Fl T > +Display only variables that are setable via loader (CTLFLAG_TUN).
To this point CTLFLAG_TUN was only important for read-only sysctls to give user a hint that the given sysctl can be changed via loader tunable on boot only (or on module load via kenv(1)). Your change makes it useful to also mark read-write sysctls as tunables and I suspect there is huge number of such sysctls that have no CTLFLAG_TUN flag. -- Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl
pgpvUz8TOlHJY.pgp
Description: PGP signature