UDEV questions
Tim
ignored_mailbox at yahoo.com.au
Sun Jan 8 00:33:05 UTC 2006
On Sat, 2006-01-07 at 11:55 -0700, Charles Curley wrote:
> The following rule, in file "/etc/udev/rules.d/30-usb-disk-rules"
> does not appear to run.
>
> BUS=="scsi", SYSFS{vendor}=="WD", SYSFS{model}=="3200JB External",
> NAME="%k", SYMLINK="WD%n"
>
> [root at charlesc class]# udevtest /sys/block/sda scsi
> udevtest.c: looking at device '/block/sda' from subsystem 'scsi'
> udevtest.c: opened class_dev->name='sda'
> udev_rules.c: no rule found, use kernel name 'sda'
> udev_add.c: creating device node '/dev/sda', major = '8', minor =
> '0', mode = '0660', uid = '0', gid = '0'
>
> Unfortunately, udevtest does not indicate why the rule failed.
>
> udevinfo provides the following selected data:
>
> ....
> SYSFS{model}=="3200JB External"
> ....
> SYSFS{vendor}=="WD "
I recall reading that you'll need to include the spaces (see where the
vendor has put them). Perhaps you do? Perhaps there's some wildcarding
that you can do? (Perhaps using "=", once instead of "==", twice?)
Alternatively, if you have enough other unique identifying data, don't
both with specifying the vendor data in your matching rules.
--
Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.
More information about the fedora-list
mailing list