Subject: Re: CVS commit: src
To: None <juan@xtrarom.org>
From: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
List: tech-kern
Date: 09/03/2007 12:05:11
> On Mon, 3 Sep 2007 11:07:01 +0900 (JST)
> yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote:
>
> > what's the point of this change?
>
> It's for sensors that want to report a generic string as value
> in envstat(8), this simplifies things to
> fix /etc/powerd/scripts/sensor_battery to shutdown the system
> with multiple batteries.
"generic string" means a opaque value whose meaning is only known to
the specific driver, right? does the opaqueness help the script?
> What's wrong with it?
>
> --
> Juan Romero Pardines - The NetBSD Project
> http://plog.xtrarom.org - NetBSD/pkgsrc news in Spanish
i don't know if it's wrong or not, but it seems like a opposite direction
from ENVSYS_DRIVE, which tend to use strong typed values.
YAMAMOTO Takashi