From owner-freebsd-arch@FreeBSD.ORG Sun Jul 8 08:52:43 2007 Return-Path: X-Original-To: freebsd-arch@FreeBSD.org Delivered-To: freebsd-arch@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16A0E16A400; Sun, 8 Jul 2007 08:52:43 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.freebsd.org (Postfix) with ESMTP id D65DC13C46A; Sun, 8 Jul 2007 08:52:42 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (93umwt6hi0l5wxh7@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.6/8.13.3) with ESMTP id l688FEwZ054956; Sun, 8 Jul 2007 01:15:14 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.6/8.13.3/Submit) id l688FCZE054954; Sun, 8 Jul 2007 01:15:12 -0700 (PDT) (envelope-from jmg) Date: Sun, 8 Jul 2007 01:15:11 -0700 From: John-Mark Gurney To: "Constantine A. Murenin" Message-ID: <20070708081511.GX1221@funkthat.com> Mail-Followup-To: "Constantine A. Murenin" , Andre Oppermann , freebsd-arch@FreeBSD.org, Rui Paulo , Shteryana Shopova , Perforce Change Reviews References: <200707062345.l66Njpx3091970@repoman.freebsd.org> <468ED66E.5080400@fnop.net> <468F517D.3010709@freebsd.org> <46904153.7040909@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46904153.7040909@FreeBSD.org> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: Rui Paulo , Shteryana Shopova , Perforce Change Reviews , Andre Oppermann , freebsd-arch@FreeBSD.org Subject: Re: Porting OpenBSD's sysctl hw.sensors framework to FreeBSD (was: Re: PERFORCE change 123040 for review) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jul 2007 08:52:43 -0000 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."