Subject: Re: envsys version 2 API
To: Jachym Holecek <freza@NetBSD.org>
From: Jason Thorpe <thorpej@shagadelic.org>
List: tech-kern
Date: 05/04/2007 22:19:01
On May 4, 2007, at 2:54 AM, Jachym Holecek wrote:

> # Juan RP 2007-05-04:
>> Still more work to do, because I have plans to port sensorsd from  
>> OpenBSD,
>
> Hmm, I guess I'd prefer to monitor high/low watermark in the kernel
> (at the place sensor value is updated) and emit an event to userland
> when value is out of bounds, as opposed to userland polling like
> sensorsd does... but I didn't have much time to think about it.

Agreed.  And why add another daemon -- extend powerd(8) (and maybe  
make powerd(8) use a dictionary-based communication channel, while  
you're at it...)

-- thorpej