I'm not an expert in this in any way, but looking at http://www.kernel.org/doc/Documentation/devices.txt it states under the terminal devices section, "The console device, /dev/console, is the device to which system messages should be sent". Based on the sparse mailing list postings/documentation I could find I believe that /dev/vc/* is legacy from devfs, in udev only /dev/tty* is used.
Cody On Sat, May 14, 2011 at 12:49 PM, Julien Cristau <[email protected]> wrote: > > 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 <[email protected]> > > --- > > 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. > > Cheers, > Julien _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
