mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: richard -rw- weinberger <richard.weinberger@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>, Kay Sievers <kay.sievers@vrfy.org>
Subject: Re: Question on /sys/class/tty/tty0/active
Date: Sun, 23 Sep 2012 16:42:53 +0100	[thread overview]
Message-ID: <20120923164253.39151bdb@pyramind.ukuu.org.uk> (raw)
In-Reply-To: <CAFLxGvxqdtE1Uyqib9Qwo4azCVQbh=3vc_xxeAfAqDQOAE-J+A@mail.gmail.com>

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.


      reply	other threads:[~2012-09-23 15:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-23 14:40 richard -rw- weinberger
2012-09-23 15:42 ` Alan Cox [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120923164253.39151bdb@pyramind.ukuu.org.uk \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=kay.sievers@vrfy.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richard.weinberger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®