3 çeşit Sanal Konsol var gibi düşünülebilir. Bunlar şöyle
tty0
tty1-7
ttyS1
tty0 Nedir
Açıklaması şöyle
tty0 is special. Rather than a real tty, this is internally aliased by the kernel to the current active virtual console. It can be treated as a normal tty device, except that it won't work until one of the other tty%d devices has been initialized and assigned as console.
tty1-7 Nedir
Açıklaması şöyle
tty%d (numeric suffix, with no letter between, starting from 1) are all "virtual consoles" which have no specific designated purpose. These can be text terminals, or a graphical server can be launched on top of the text terminal. These might be dynamically allocated. Some distros will start their first graphical interface on a specific one of these, but which one has changed several times and subsequent ones will be dynamically assigned.
Ubuntu'da Ctrl + Alt + F1...F6 tuşları ile Virtual Console'a geçiş yaparız. GUI Console'a ile Ctrl + Alt + F7 ile geçeriz. Açıklaması şöyle.
Açıklaması şöyle.usually the first six virtual consoles provide a text terminal with a login prompt to a Unix shell. The graphical X Window System starts in the seventh virtual console.
As far as "the OS" (ie the kernel) is concerned, you have 7 tty consoles and any number of SSH connections (aka "login sessions") - it just so happens that ubuntu ships with scripts to auto-start the GUI on the tty7 session, but to the kernel it's just another application.ttyS Nedir
Açıklaması şöyle
ttyS%d are hardware serial ports. The devices are likely preallocated and may not necessarily correspond to existing serial hardware. But if you do have directly connected serial ports, they typically are assigned sequentially starting from ttyS0
Hiç yorum yok:
Yorum Gönder