svn commit: r244106 - head/sbin/sysctl

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Dec 11 19:54:51 UTC 2012


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20121211/ef9ceb96/attachment.sig>


More information about the svn-src-head mailing list