usb hard disk and udev

Marcel Janssen korgull at home.nl
Sun Jul 17 18:08:22 UTC 2005


On Sunday 17 July 2005 19:32, Marcel Janssen wrote:
> Hi,
>
> I'm trying to get my USB hard disks mounted always the same way with udev
> but find some trouble making the rules.
> I've been reading a bit of the following :
> http://www.reactivated.net/writing_udev_rules.html
>
> And the rule :
> BUS="usb", KERNEL="sd*", SYSFS{product}="USB 2.0 Storage Device",
> NAME="%k", SYMLINK="usbhd%n"
>
> Seems to be what I want, but I don't understand yet how it can make sure
> that my disk always gets the same mount point (I have multiple USB disks
> from different vendors and want them assigned always to the same device)
> One thing is the SYSFS{product}. I can't find this description for my
> device so I can't make the correct rule. Or, can I just take the vendor
> string in from the below output instead ?

Tried putting the vendor string there, but nothing happens. No device created, 
no log messages.....
Is that perhaps caused by haldaemon, which fails to start on my system ?

regards,
Marcel
 




More information about the fedora-list mailing list