[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120923164253.39151bdb@pyramind.ukuu.org.uk>
Date: Sun, 23 Sep 2012 16:42:53 +0100
From: Alan Cox <alan@...rguk.ukuu.org.uk>
To: richard -rw- weinberger <richard.weinberger@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
Kay Sievers <kay.sievers@...y.org>
Subject: Re: Question on /sys/class/tty/tty0/active
On Sun, 23 Sep 2012 16:40:07 +0200
richard -rw- weinberger <richard.weinberger@...il.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists