[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to delay boot when waiting for usb disks?



On Thu, Jul 01, 2010 at 08:23:39PM +0200, Memnon Anon wrote:
> You are on testing? 
> > User-Agent: Mutt/1.5.20 (2009-06-14)
> 
> Martin Kraus <lists_mk@wujiman.net> writes:
> 
> > Hi. I need to mount a usb disk during boot so that daemons writing to the disk
> > start. The problem is that usb-storage takes time to set up block devices and
> > it does this in the background so it depends on many factors if it makes it
> > before mountall.sh is called.
> > Is there some way this can be accomplished in debian without explicit sleep 20
> > in mountall.sh?
> 
> Google seems to suggest these solutions:
> 
> a) rootdelay=xx

rootdelay is only for root, I need to wait for nonroot disk. it happens after
initramfs mounts root and activates init from the root fs.

> b) udev
> 
> http://blogs.nonado.net/diamond/2010/03/27/mounting-usb-drives-at-boot-using-udev-on-debian/

So I guess Debian doesn't solve this in any system friendly way?

mk


Reply to: