[CentOS] Udev Rules for mounting usb disks

John Doe jdmls at yahoo.com
Tue Jan 20 14:57:39 UTC 2009


> From: Rainer Traut <tr.ml at gmx.de>
> Am 20.01.2009 15:33, schrieb John Doe:
> >> From: partha chowdhury
> >>> my plan is to automatically mount five same brand usb disks in five
> >>> different directories.
> >>> I have written the following udev rule;
> >>> Problem is, it does not mount them on boot, only when I plug them in.
> >> how do you expect to mount usb disks when they are not plugged in ? plug
> >> them in and reboot.
> >
> > He did not say he tried to boot with the drives not plugged; he said he needs 
> the plugging action in order to get the drives mounted...
> > If he boots with the drives already plugged in, they apparently do not get 
> mounted...
> 
> Yes exactly. My problem description might have been ambiguous but common 
> sense should have made this clear.

Did you try with simpler (no serial/model) rules?
Maybe, at boot time, there is a problem getting the disks serials/models...

JD



      



More information about the CentOS mailing list