Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2007 01:15:11 -0700
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        "Constantine A. Murenin" <cnst@FreeBSD.org>
Cc:        Rui Paulo <rpaulo@fnop.net>, Shteryana Shopova <syrinx@FreeBSD.org>, Perforce Change Reviews <perforce@FreeBSD.org>, Andre Oppermann <andre@FreeBSD.org>, freebsd-arch@FreeBSD.org
Subject:   Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review)
Message-ID:  <20070708081511.GX1221@funkthat.com>
In-Reply-To: <46904153.7040909@FreeBSD.org>
References:  <200707062345.l66Njpx3091970@repoman.freebsd.org> <468ED66E.5080400@fnop.net> <468F517D.3010709@freebsd.org> <46904153.7040909@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Constantine A. Murenin wrote this message on Sat, Jul 07, 2007 at 21:43 -0400:
> Hardware sensors tree is going to be pretty deep down. Under sysctl(8) 
> the variable names will look like this:
> 
> 	hw.sensors.lm0.temp0
> 
> whereas in reality, the tree has five levels:
> 
> 	hw.sensors.lm0.temp.0

I'm curious, why do we want/need these in the kernel as opposed to a
userland library/utility to provide this info?

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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