From owner-freebsd-current@FreeBSD.ORG Mon Jan 14 02:42:55 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4394416A41A; Mon, 14 Jan 2008 02:42:55 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 92E8F13C44B; Mon, 14 Jan 2008 02:42:54 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (inchoate.gsoft.com.au [203.31.81.30]) (authenticated bits=0) by cain.gsoft.com.au (8.13.8/8.13.8) with ESMTP id m0E2gq26087004 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 14 Jan 2008 13:12:53 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: "Igor Mozolevsky" Date: Mon, 14 Jan 2008 13:12:43 +1030 User-Agent: KMail/1.9.7 References: <1200197787.67286.13.camel@shumai.marcuscom.com> <200801141254.20400.doconnor@gsoft.com.au> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1711567.ZHXn3Ev659"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200801141312.45321.doconnor@gsoft.com.au> X-Spam-Score: -3.385 () ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.63 on 203.31.81.10 Cc: Kostik Belousov , Peter Jeremy , freebsd-current@freebsd.org, Joe Marcus Clarke , current Subject: Re: RFC: Adding a hw.features[2] sysctl X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2008 02:42:55 -0000 --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--