Skip to Content
Mastering the Raspberry Pi
book

Mastering the Raspberry Pi

by Warren W. Gay
August 2014
Beginner
504 pages
11h 2m
English
Apress
Content preview from Mastering the Raspberry Pi

CHAPTER 19

image

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:

$ lsl /dev/tty1 /dev/ttyAMA0crwrw−−−− 1 root tty     4,   1 Jan 21 00:06  /dev/tty1crwrw−−−− 1 root tty     204, 64 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Raspberry Pi

Learning Raspberry Pi

Samarth Shah, Serge Schneider
Raspberry Pi Hacks

Raspberry Pi Hacks

Ruth Suehle, Tom Callaway

Publisher Resources

ISBN: 9781484201817Purchase book