lkml.org 
[lkml]   [2004]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: getting usb mass storage to finish before running init?
> 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [from the cache]
©2003-2011 Jasper Spaans