Date: Wed, 17 Oct 2007 13:08:05 -0700 From: Julian Elischer <julian@elischer.org> To: John Baldwin <jhb@freebsd.org> Cc: arch@freebsd.org, "Constantine A. Murenin" <cnst@freebsd.org> Subject: Re: sensors fun.. Message-ID: <47166BA5.1000100@elischer.org> In-Reply-To: <200710171245.36949.jhb@freebsd.org> References: <200710171245.36949.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
John Baldwin wrote: > > Other things that might be nice: > > - IWBN to have a userland interface to sensors. For example, if nothing else > a sensor enumerator rather than duplicating the sysctl loop as the current > code does. This would make it easier to at least adjust the current > artificial limit on the number of sensors since only one place in userland > would have to change. (BTW, having an artificial limit on the number of > sensors is lame. This is an example where using the normal way of walking a > sysctl tree is superior. You can lose the entire limit.) Having a userland > interface also makes it easier to have backends that are entirely in > userland. > maybe a loopback filesystem /var/run/sensors could be a loopback filesystem that exports a view of the sensors available. The process doing the work would be a userland process but it would be providing the information in the form of a filesystem so other processes could access it easily. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47166BA5.1000100>