stupid whitespaces in vendor or model name

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

 



hi,

i used udev 122 on clfs multilib and all works good. but now, i created this rule for my external HD:

BUS=="usb", KERNEL=="sd??", ATTRS{vendor}=="TOSHIBA ", SYMLINK="usbplatte%n", RUN=="/root/BASH/usbplatte", OPTIONS=="last_rule"

without the {vendor}or {model} the rule is running. with it, the rule runs NOT!

the infos are from: /udevinfo -a -p /block/sdb | grep {vendor}/ gives: /ATTRS{vendor}=="TOSHIBA "/
its also with the {model}, here we have: /ATTRS{model}=="MK2546GSX       "/
note the spaces on the end of the string!
its the same in udev 130

what can i do? any hints? a typo?
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux