Re: Sensors and bioctl

2006-06-14 Thread Jim Razmus
* Gaby vanhegan [EMAIL PROTECTED] [060614 12:52]:
 Just an idle thought: are there any plans to put information from  
 bioctl into some sensors that would be accessible by sysctl -a?  It's  
 (marginally) easier to parse information from the sysctl output than  
 from bioctl itself.
 
 Gaby
 
 --
 Junkets for bunterish lickspittles since 1998!
 http://www.playr.co.uk/sudoku/
 http://weblog.vanhegan.net/
 

Already in the tree for 4.0.  A recent Undeadly article talked about it
and linked the commit messages.

Jim



Re: Sensors and bioctl

2006-06-14 Thread Theo de Raadt
 Just an idle thought: are there any plans to put information from  
 bioctl into some sensors that would be accessible by sysctl -a?  It's  
 (marginally) easier to parse information from the sysctl output than  
 from bioctl itself.

In -current you get this:

hw.sensors.69=sd0, ami0 0, drive online, OK
hw.sensors.70=sd1, ami0 1, drive online, OK

That is all that needs to be there.  The idea is as follows:

We will put enough sensor data there so that a sensor application
can tell if something is ok or not, but then other tools must be
used to get further information.