January 2018
Intermediate to advanced
456 pages
12h 49m
English
sysvinit is the default initialization manager in Yocto and it has been used in Linux since the operating system's origin. The kernel is passed an init command-line argument, typically /sbin/init, which is then launched to a default runlevel, a machine state that defines which processes to run. This init process has PID 1 and is the parent of all processes.
The init process will read an inittab file and look for a default runlevel. The default inittab file is installed with the sysvinit-inittab package and is as follows:
# /etc/inittab: init(8) configuration. # $Id: inittab,v 1.91 2002/01/25 13:35:21 miquels Exp $ # The default runlevel. id:5:initdefault: # Boot-time system configuration/initialization script. # This is run ...
Read now
Unlock full access