Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2008 13:12:43 +1030
From:      "Daniel O'Connor" <doconnor@gsoft.com.au>
To:        "Igor Mozolevsky" <igor@hybrid-lab.co.uk>
Cc:        Kostik Belousov <kostikbel@gmail.com>, Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-current@freebsd.org, Joe Marcus Clarke <marcus@freebsd.org>, current <current@freebsd.org>
Subject:   Re: RFC: Adding a hw.features[2] sysctl
Message-ID:  <200801141312.45321.doconnor@gsoft.com.au>
In-Reply-To: <a2b6592c0801131838jcde3634le6087d2f784adcbc@mail.gmail.com>
References:  <1200197787.67286.13.camel@shumai.marcuscom.com> <200801141254.20400.doconnor@gsoft.com.au> <a2b6592c0801131838jcde3634le6087d2f784adcbc@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1711567.ZHXn3Ev659
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

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=20
all other kernel info is exported to userland.

=2D-=20
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

--nextPart1711567.ZHXn3Ev659
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQBHiswl5ZPcIHs/zowRAidBAJ42J8j7uhynKrAFfcXkpmxXkBnsXACfSGwR
1jY2vyoPtNT/siTXVYwkG60=
=SRnr
-----END PGP SIGNATURE-----

--nextPart1711567.ZHXn3Ev659--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801141312.45321.doconnor>