November 2014
Intermediate to advanced
132 pages
2h 13m
English
CHAPTER 5
![]()
Linux Console
The Raspbian Linux console is configured (or assumed) by the kernel command line. See the console option described in Chapter 2.
Available Consoles
The list of consoles is available through the /proc/consoles pseudo file:
$ cat /proc/consolestty1 −WU (EC p ) 4:1ttyAMA0 −W− (E p ) 204:64
The organization and flags displayed are described in Tables 5-1 and 5-2. The major and minor numbers are confirmed in the following example session output:
$ ls −l /dev/tty1 /dev/ttyAMA0crw−rw−−−− 1 root tty 4, 1 Jan 21 00:06 /dev/tty1crw−rw−−−− 1 root tty 204, 64 Jan 21 00:06 ...