August 2014
Beginner
504 pages
11h 2m
English
CHAPTER 19
![]()
Linux Console
The Raspbian Linux console is configured (or assumed) by the kernel command line. See the console option described in Chapter 16.
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 19-1 and 19-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 ...