init -- the userland adventure begins


init is the grandmother of all processes, and usually runs as PID 1

/etc/inittab is its configuration file, which determines what processes it initially starts

init has a notion of "run levels" corresponding to different levels of system functionality

Normal boot: init does stuff for run level 1, then run level 2

Normal shutdown: init does stuff for run level 0, then system halts

Normal reboot: init does stuff for run level 6, then reboots

Ubuntu replaced the traditional init with a variant called upstart. The main distinguishing characteristic of upstart is that each service's configuration is in separate files in /etc/init rather than lines in /etc/inittab.

Next ->


Steve VanDevender
Last modified: Tue Jun 28 14:36:20 PDT 2011