[Voyage-linux] How can we usb driver mount at startup (on wrap): Solved

Robert Vollmert (spam-protected)
Fri Sep 18 23:34:40 HKT 2009


On Sep 18, 2009, at 16:33, Beat Meier wrote:
> FYI: The problem that usb filesystems are not mounted automaticlly  
> at startup is a timing problem.
> The problem is that if the usb driver is loaded the harddrive needs  
> some time to come up.

My solution (I may have posted this before):

$ cat /etc/udev/rules.d/mount-usb.rules
## usb disk comes up too late for /etc/init.d/mountall.sh
ENV{ID_FS_LABEL}=="usbrw", ACTION=="add", RUN+="/bin/mount /dev/%k"
ENV{ID_FS_LABEL}=="usbmedia", ACTION=="add", RUN+="/bin/mount /dev/%k"



Cheers
Robert






More information about the Voyage-linux mailing list