Hi,

On Fri, Mar 19, 2010 at 03:30:39PM +0100, Jakub Daniel wrote:

> Isnt there a simple way how to check whether /dev/mouse and /dev/kbd
> are ready for XDM to start? and make a busy wait until it is ready,
> then start xdm?

I can think of multiple ways. "fsysopts /dev/cons" for example would
tell you whether the translator is running. Or you could just do "ls
/dev/cons/kbd" or so to see whether it created the nodes. Or simply "ls
/dev/kbd" -- the symlink is broken until the devices are there.

But if a sleep doesn't help, I doubt an explicit wait will. The console
client doesn't really need long to start up. I suspect the problem is
elsewhere.

-antrik-


Reply via email to