[Nut-upsdev] udev versions (was Re: [Nut-upsuser] still no nut at reboot)
Charles Lepple
clepple at gmail.com
Wed Nov 17 04:05:47 UTC 2010
On Nov 16, 2010, at 3:27 PM, Arjen de Korte wrote:
> Citeren Charles Lepple <clepple at gmail.com>:
>
>> Looks like Ubuntu changed to the udev which supports ATTRS sometime
>> between 6.06 and 8.04 (2006 and 2008), but I haven't tracked down
>> when the kernels changed over.
>
> If the system supports pkg-config, checking if the version is < 098
> should be able to tell if we must use SYSFS or can use ATTRS (which
> is supported for udev >= 098). Since this change happened somewhere
> in 2006, I'm not sure if this is an issue anymore however, so it's
> probably safe to use ATTRS.
The one thing I'm still not sure about is when the kernels changed
over - it seems like udev changed to ATTRS first.
Also, I didn't know that udev had a pkg-config entry. I'll try to take
a look at that more tomorrow.
More information about the Nut-upsdev
mailing list