[quoted lines by Richard B. Johnson on April 5, 2000, at 07:43]
>On this system /dev/tty0 is the first virtual terminal, i.e. ALT-F1,
>while /dev/tty1 is the second, etc. This all depends upon the major/minor
>numbers of the devices, though so it may be different on other systems.
No, I don't believe that to be correct. /dev/tty0 is the current virtual
terminal, /dev/tty1 is the first, /dev/tty2 is the second, etc. It is possible
that some system has set it up another way, but that system would then be
non-standard. From /usr/src/linux/Documentation/devices.txt:
4 char TTY devices
0 = /dev/tty0 Current virtual console
1 = /dev/tty1 First virtual console
63 = /dev/tty63 63rd virtual console
-- Dave Mielke | 856 Grenon Avenue | I believe that the Bible is the Phone: 1-613-726-0014 | Ottawa, Ontario | Word of God. Please contact me EMail: dave@mielke.cc | Canada K2B 6G3 | if you're concerned about Hell.- 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:14 EST