Re: [QUERY] User-Mode Linux and /dev/tty*

From: Richard Weinberger
Date: Tue Jul 16 2013 - 11:59:22 EST


Hi!

Am 16.07.2013 17:54, schrieb Ramkumar Ramachandra:
> Hi,
>
> So, I was trying to boot User-Mode Linux with a modern rootfs with
> systemd on it, and found that it wouldn't present me a prompt. I dug
> further, and found out that getty is not able to open /dev/tty1; I
> then tried the console-getty.service (which uses /dev/console), and it
> worked. The reason it doesn't work out of the box is that systemd is
> not able to figure out whether or not a virtual console subsystem is
> present: /dev/tty0 is present for some reason (although I'm not sure
> it's a virtual console), and this confuses systemd.
>
> So, my question is: does um Linux have a virtual console subsystem?
> If so, then why doesn't it seem to work? If not, why does /dev/tty0
> exist?

UML does not have CONFIG_VT.
But recent systemd versions can deal with that.

Thanks,
//richard

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