Re: General questiin about SYSFS

From: AmÃrico Wang
Date: Fri May 14 2010 - 03:15:25 EST


On Fri, May 14, 2010 at 03:52:03AM +0200, Piotr Hosowicz wrote:
>On 13.05.2010 21:28, Randy Dunlap wrote:
>>Piotr Hosowicz wrote:
>>>On 13.05.2010 20:55, Piotr Hosowicz wrote:
>>>
>>>>I could find the option in menuconfig and I don't want to edit .config
>>>>by hand, because there are various *SYSFS* options there.
>>>
>>>Sorry, I mistyped, I meant I _cannot_ find it in menuconfig nor in .config.
>>
>>The only thing about SYSFS that is deprecated AFAIK is in init/Kconfig:
>>
>>config SYSFS_DEPRECATED_V2
>> bool "enable deprecated sysfs features to support old userspace tools"
>> depends on SYSFS
>> default n
>> select SYSFS_DEPRECATED
>> help
>> This option switches the layout of sysfs to the deprecated
>> version. Do not use it on recent distributions.
>
>Thanks, I have it disabled. I asked tyhe question because of such
>messages during boot:
>
>May 13 16:26:24 aapi205 udevd[1432]: SYSFS{}= will be removed in a
>future udev version, please use ATTR{}= to match the event device, or
>ATTRS{}= to match a parent device, in
>/etc/udev/rules.d/025_logitechmouse.rules:21
>

It is a warning for udev rules, that is saying you should replace
SYSFS{}= with ATTR{}= in your rule file under /etc/udev/rules.d/,
nothing related with kernel.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/