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 17

image

Initialization

After the Linux kernel is booted, the first executing userland process ID number (PID) is 1. This process, known as init, is initially responsible for spawning all other required processes required by the system. The init process continues to execute after the system is up, running as a daemon (in the background). It should never be terminated by the user (when attempted on Raspbian Linux, the kill request was ignored).

Run Levels

The init process maintains a concept of a run level for the system. The current run level can be checked at the command line:

$ runlevelN 2 $

The N shown here is the previous run level that ...

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