Okay... I just checked my system. /dev/tty is (5,0), and /dev/tty0 is
(4,0). Other /dev/tty* nodes are (4, X).
/dev/tty and /dev/tty0 are the current virtual console. /dev/tty1 is the
first, /dev/tty2 is the second, etc.
I'm using RedHat 6.1
Matt Dharm
On 5 Apr 2000, Marcus Sundberg wrote:
> "Richard B. Johnson" <root@chaos.analogic.com> writes:
>
> > On this system /dev/tty0 is the first virtual terminal, i.e. ALT-F1,
> > while /dev/tty1 is the second, etc.
>
> Then it's broken.
>
> > This all depends upon the major/minor
> > numbers of the devices, though so it may be different on other systems.
>
> On Linux /dev/tty0 is the current virtual console, /dev/tty1 is the
> first.
>
> //Marcus
>
-- Matthew Dharm Home: mdharm@one-eyed-alien.net Engineer, Qualcomm, Inc. Work: mdharm@qualcomm.comWhat, are you one of those Microsoft-bashing Linux freaks? -- Customer to Greg User Friendly, 2/10/1999
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:15 EST