Learn more. Ask Question. Asked 5 years, 1 month ago. Active 8 months ago. Viewed 49k times. Improve this question. You can look up many device types in the kernel docs: git.
Add a comment. Active Oldest Votes. Improve this answer. What about ttySAC0? Which cable? Send a photo if you can. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Ask Question. Asked 13 years, 2 months ago. Active 8 years, 6 months ago. Viewed 5k times. Improve this question. Troy Alford Marius Marius Add a comment. Active Oldest Votes. Improve this answer. Kev Kev k 50 50 gold badges silver badges bronze badges. Login as root.
You can see that tty is the console where process starts, and tty0 is a always current console. Unlike the other devices, you do not need root privileges to write to it. These processes have a?
Kernel code which calls printk may write messages to it, e. These messages are also buffered by the kernel. See also dmesg. When a console device is found and started, it receives all the previously buffered messages. Opening this character device opens the "main" console, which is the last tty in the list of consoles. The kernel will print log a message, and start init regardless. For an example of a kernel console which is not a tty device, see netconsole , or my favourite console the line printer.
0コメント