[arch-dev-public] udev rule files in /etc/udev/rules.d, usage of SYSFS

Thomas Bächler thomas at archlinux.org
Fri May 20 04:42:55 EDT 2011

I just got flooded with this message:

'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

And I remembered there are 2 things to fix.

1) Move all udev rule files provided by us to /lib/udev/rules.d
(/etc/udev/rules.d is for the user only)

community/multipath-tools (0.4.9-4) : /etc/udev/rules.d/kpartx.rules
community/multipath-tools (0.4.9-4) : /etc/udev/rules.d/multipath.rules
community/ozerocdoff (2-3) : /etc/udev/rules.d/51-hso-udev.rules
community/sysprof (1.1.6-1) : /etc/udev/rules.d/60-sysprof.rules
extra/laptop-mode-tools (1.57-2) : /etc/udev/rules.d/99-laptop-mode.rules
extra/v4l-utils (0.8.3-1) : /etc/udev/rules.d/70-infrared.rules

(The last one is probably my fault)

2) Remove the long deprecated SYSFS from all rule files (I didn't check
all packages here, but ozerocdoff is definitely one case)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20110520/85d8e479/attachment.asc>

More information about the arch-dev-public mailing list