Thomas Bächler wrote:
> It is very easy: == is a comparison, = is an assignment. They have different 
> meanings.
> 
> BUS=="usb" checks whether BUS is usb
> NAME="%k" sets the name to %k.
> SYMLINK+="usbhd%n" adds a symlink (there may be multiple symlinks)
> 
> btw: you don't have to set NAME and GROUP, because that is already done in 
> the main rule file.
> 
> So your rule would be:
> BUS=="usb", KERNEL=="sd*", SYSFS{product}=="USB Mass Storage Device", 
> SYMLINK+="usbhd%n"
Thank you, too.
After your post it's very clear to me.

-- 
Gruß, Johannes
www.hehejo.de

http://urly.de/6590

_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to