chiark / gitweb /
let SYSFS{} look at the device, not only the parent device
authorKay Sievers <kay.sievers@suse.de>
Sun, 29 Jan 2006 16:08:44 +0000 (17:08 +0100)
committerKay Sievers <kay.sievers@suse.de>
Sun, 29 Jan 2006 16:08:44 +0000 (17:08 +0100)
commit9538b16d8b6086691dd01d76dea91ba73d13a630
treec823009cc2a7bf56b863324aab8d1f462c07867c
parent34f55103c5d451d247fc3b57579a6b3c1de0d58d
let SYSFS{} look at the device, not only the parent device

The stricter parent logic broke: BUS=="ide", SYSFS{removable}=="1", ...
cause removable is on the block device, which isn't a ide device.
Just look for matching attributes at the device and the selected parent
device at the same time now.

Signed-off-by: Kay Sievers <kay.sievers@suse.de>
udev_rules.c