Question on /sys/class/tty/tty0/active

From: richard -rw- weinberger
Date: Sun Sep 23 2012 - 10:40:01 EST


Hi!

I'm booting 3.6-rc6 using KVM and observe the following output:
$ tty
/dev/tty0
$ cat /sys/class/tty/tty0/active
tty1

Why does the active file say I'm on tty1?
There is no tty1, I'm on tty0.
(Also "who" reports tty0)

It looks like fg_console in vt.c has a bad value...

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