* Question on /sys/class/tty/tty0/active
@ 2012-09-23 14:40 richard -rw- weinberger
2012-09-23 15:42 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: richard -rw- weinberger @ 2012-09-23 14:40 UTC (permalink / raw)
To: LKML; +Cc: Kay Sievers, Alan Cox
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question on /sys/class/tty/tty0/active
2012-09-23 14:40 Question on /sys/class/tty/tty0/active richard -rw- weinberger
@ 2012-09-23 15:42 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2012-09-23 15:42 UTC (permalink / raw)
To: richard -rw- weinberger; +Cc: LKML, Kay Sievers
On Sun, 23 Sep 2012 16:40:07 +0200
richard -rw- weinberger <richard.weinberger@gmail.com> wrote:
> 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)
tty0 is the current vt, tty1 is a direct mapping to that vt.
So it looks correct to me.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-09-23 15:37 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-23 14:40 Question on /sys/class/tty/tty0/active richard -rw- weinberger
2012-09-23 15:42 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®