Re: getting usb mass storage to finish before running init?

From: Randy Dunlap
Date: Thu Feb 12 2004 - 23:08:28 EST


> On Fri, 13 Feb 2004 03:00:21 +0100, you wrote in linux.kernel:
>
>> I can put a sleep in there but that is sloppy, and can not really be
>> relied apon (since technically there is no way I can know how long the
>> detection phase will take), and also I may be waisting time (which I
>> don't want to, I want a fast booting router).
>
> Check available devices for root filesystem (in case you're booting from
> IDE). If it's not there, wait a moment, then look for additional
> devices. If nothing shows up, repeat.

That's basically what my usb-boot patch for 2.4.22 does:
http://www.xenotime.net/linux/usb/usbboot-2422.patch

I haven't tried to port it to 2.6.x.
---
~Randy



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/