[PATCH] linux: Clean up filenames used in Linux VT init.

Julien Cristau jcristau at debian.org
Sat May 14 12:49:07 PDT 2011

On Sat, May 14, 2011 at 13:38:27 -0700, Cody Maloney wrote:

> According to the comment in the Linux kernel source file
> drivers/tty/vt/vt_ioctl.c /dev/tty0 points to /dev/console,
> so we should just go to /dev/console, and virtual terminals
> are always labeled /dev/ttyN where N is 1..MAX_NR_CONSOLES,
> so only check /dev/ttyN.
> Signed-off-by: Cody Maloney <cmaloney at theoreticalchaos.com>
> ---
>  hw/xfree86/os-support/linux/lnx_init.c |   39 ++++++-------------------------
>  1 files changed, 8 insertions(+), 31 deletions(-)
NAK.  I think this breaks system with a serial console, where you can't
always use VT ioctls on /dev/console.


More information about the xorg-devel mailing list