[Pkg-sysvinit-devel] Bug#482273: confirmation; workaround

Robert Vollmert rvollmert at gmx.net
Tue Jul 7 09:27:59 UTC 2009


I'm running into the same problem consistently -- my external usb disk  
always comes up too late for mountall.sh. This is not on Debian proper  
but the derivative Voyage Linux, initscripts version 2.86.ds1-61.

My workaround for now is to run mount again later via udev (the  
filesystems are still set up in /etc/fstab). This should fail  
gracefully if mountall.sh was successful.


/etc/udev/rules.d/mount-late.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 Pkg-sysvinit-devel mailing list