Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jan 2011 14:31:57 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        freebsd-arch@freebsd.org
Subject:   Re: Weed-whacking sysctl(8)
Message-ID:  <4D37584D.6060305@bsdimp.com>
In-Reply-To: <201101191559.07713.jhb@freebsd.org>
References:  <AANLkTimMsy9J5Ohj0pifZ%2B9L4_mFq5z2FwUhG8y5%2B3Kh@mail.gmail.com> <201101191559.07713.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/19/2011 13:59, John Baldwin wrote:
> I guess I fail to see why sysctl giving a hint about the semantic type of
> the data ("temperature", "struct foo") which is separate from the "physical"
> type (e.g. 32-bit or 64-bit) is such a bad thing.

Yes.  Especially since the data could be degrees C, degrees F or some 
other weirdness.  You can't divorce the semantic interpretation of the 
data from the data type.  Both are important to interpret this data 
correctly.

I'm in the "IK isn't icky enough to rototill" camp.

Warner




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