From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Lokier Subject: Re: Wait for console to become available, v3.2 Date: Mon, 27 Apr 2009 00:46:42 +0100 Message-ID: <20090426234642.GC17240@shareable.org> References: <20090426195249.GC10627@shareable.org> <20090426213746.GH10627@shareable.org> <20090426231208.GA17240@shareable.org> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1" To: Kay Sievers Cc: Alan Stern , David VomLehn , Alan Cox , Ingo Molnar , Arjan van de Ven , "H. Peter Anvin" , Thomas Gleixner , Linus Torvalds , Linux Kernel Mailing List , Linux USB Mailing List , Linux Embedded Mailing List , Andrew Morton Kay Sievers wrote: > On Mon, Apr 27, 2009 at 01:12, Jamie Lokier wro= te: > > Kay Sievers wrote: > >> > _If_ the system doesn't wait for all block devices present at bo= ot to > >> > be enumerated before the boot script, then when the script looks= in > >> > that directory for a specific UUID, it would be good to wait unt= il > >> > "has everything present at boot been enumerated?" says yes. > >> > >> That's what distros do with initramfs today. > > > > I don't see how that's possible. =A0Haven't we been discussing how = the > > USB driver does not have any support (yet) for saying when it's fou= nd > > every device present at boot time, and that it can probably be adde= d? >=20 > It's easy for the rootfs, or any other mandatory filesystem, unlike i= t > is for the console stuff. >=20 > There is no timeout, distro's initramfs waits for the specified root > device until it appears. It's simple, there is nothing else to do for > it. It does not care what bus it is, or who is probing what for how > long. It loads all drivers it finds hardware for, and then spins unti= l > the device shows up and continues. Ok. I'm specifically _not_ talking about mandatory filesystems. Thanks :-) -- Jamie