RFC: Adding a hw.features[2] sysctl

Daniel O'Connor doconnor at gsoft.com.au
Sun Jan 13 18:42:55 PST 2008

On Mon, 14 Jan 2008, Igor Mozolevsky wrote:
> > Except you can't do that from a shell script.
> > (eg wrapper script to run optimised binaries)
> cat /dev/cpuinfo and parse away!

Why is sysctl so bad?
It works, there is a patch to do it and it matches up with how 99% of 
all other kernel info is exported to userland.

Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20080114/8098305a/attachment-0003.pgp

More information about the freebsd-current mailing list