Ein bisschen Technik-Bildung zum Sonntag: Den Artikel The TTY demystified finde ich sehr lehrreich. Die Geschichte der TTY beginnt übrigens im Jahr 1869 mit Aktientickern…
Beware, though: What you are about to see is not particularly elegant. In fact, the TTY subsystem — while quite functional from a user’s point of view — is a twisty little mess of special cases.
Edit: Bei einem Problem, das mich jetzt schon länger begleitet, hat die Lektüre allerdings auch nicht geholfen. Und zwar zeigt mir die Konsole tty[1-6]
beim Einloggen jeweils diese Meldung an:
bash cannot set terminal process group (4934): Inappropriate ioctl for device
no job control in this shell
Ob das immer die gleiche ID ist, habe ich nicht beobachtet.
In meiner /etc/inittab
steht (u.a.) das hier:
# TERMINALS
#x1:12345:respawn:/sbin/agetty 38400 console linux
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
Die Berechtigungen sehen so aus:
crw--w---- 1 root tty 4, 1 3. Mai 21:59 /dev/tty1
Da tappe ich nach wie vor völlig im Dunkeln.