Re: Wait for console to become available, v3.2

From: Alan Stern
Date: Fri Apr 24 2009 - 23:11:23 EST


On Sat, 25 Apr 2009, Jamie Lokier wrote:

> I'm thinking this broader use:
>
> - My boot _script_ is waiting for a disk which identifies as
> UUID=392852908752345749857 to appear before it can mount it on
> /data. If there's no such disk, it proceeds without it. It's a
> USB disk, behind a USB hub.
>
> - My boot script is looking to see if I'm holding down 'z' on the
> keyboard, to do something different. But how does it know if
> there's a USB keyboard plugged in (behind two USB hubs) that
> hasn't finished being detected?
>
> It just seemed to fit comfortably into what's being discussed.

Are you suggesting this new interface be exported to userspace somehow?

Alan Stern

--
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/