What's the difference between ATTRS and ATTR in udev rules? Aren't both attributes? Why the distinction?

1 Answer 1


The singular form of udev criteria (KERNEL, SUBSYSTEM, DRIVER, ATTR) only match the device being added, whereas the plural forms (including ATTRS) match the device being added or any of its parent devices.

See the Writing udev rules guide for details.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .