From owner-freebsd-current@FreeBSD.ORG Mon Jan 14 05:00:24 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C4F616A419 for ; Mon, 14 Jan 2008 05:00:24 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from QMTA05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 0F7FA13C442 for ; Mon, 14 Jan 2008 05:00:23 +0000 (UTC) (envelope-from nslay@comcast.net) Received: from OMTA13.emeryville.ca.mail.comcast.net ([76.96.30.52]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id cpck1Y00817UAYk0A0Co00; Mon, 14 Jan 2008 05:00:23 +0000 Received: from ANTENNA.LOCAL ([68.35.224.189]) by OMTA13.emeryville.ca.mail.comcast.net with comcast id cszr1Y00A45o48c8Z00000; Mon, 14 Jan 2008 04:59:54 +0000 X-Authority-Analysis: v=1.0 c=1 a=BZmrEeO8dF8A:10 a=p9B4vzIRmz6maCe5kLkA:9 a=XObCud3UY25WBqwcvi98UGeldW8A:4 a=zUBsD6tbDSsA:10 Message-ID: <478AEC07.70806@comcast.net> Date: Sun, 13 Jan 2008 23:58:47 -0500 From: Nathan Lay User-Agent: Thunderbird 2.0.0.9 (X11/20071230) MIME-Version: 1.0 To: Joe Marcus Clarke References: <1200197787.67286.13.camel@shumai.marcuscom.com> <20080113064450.GW57756@deviant.kiev.zoral.com.ua> <20080113182457.GN929@server.vk2pj.dyndns.org> <1200280105.7836.16.camel@shumai.marcuscom.com> In-Reply-To: <1200280105.7836.16.camel@shumai.marcuscom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Kostik Belousov , Peter Jeremy , current , Igor Mozolevsky 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 05:00:24 -0000 Joe Marcus Clarke wrote: > It would be easy to export just the bitmask, and leave the parsing up to > the consumer. However, I think the strings would be more script > friendly. > > Isn't it possible to output human readable format anyways? For example, 'sysctl kern.boottime' gives a human readable string. sysctl() on kern.boottime gives a struct timeval. I'm all for the bitmask idea. Best Regards, Nathan Lay