[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re (2): /etc/udev/rules.d/10-local.rules



From:	shawn wilson <ag4ve.us@gmail.com>
Date:	Sun, 2 Nov 2014 21:49:57 -0500
> Everything must match the same set.

https://wiki.archlinux.org/index.php/udev#Writing_udev_rules
under "Writing udev rules" states,
"A rule to match, can be composed by the attributes of the device 
and the attributes from one single parent device."

Assuming your "set" is an Archlinux "device", the inclusion of an attribute 
from the parent could be crucial.  If, for example, two devices have the 
same ATTR{size}, then ATTRS=={serial} should distinguish.

> Of course not - the rule is structured correctly and it could match for
> another device.

On one machine I had KERNEL=="mmcblk?" rather than "mmcblk?p1".
On another machine the number for ATTR{size} was wrong.

It works now.  Thanks for the reply,            ... Peter E.

-- 
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +1 360 639 0202  http://carnot.yi.org/  Bcc: peter at easthope. ca


Reply to: