next up previous contents
Next: 2.3.1.2 rc.sysinit Up: 2.3.1 System 5 init Previous: 2.3.1 System 5 init   Contents

2.3.1.1 Inittab

During boot the kernel locates /sbin/init. Init is the parent of all processes. Its primary role is to create processes from a script stored in the file /etc/inittab . The man page for inittab describes syntax of inittab lines ("id:runlevels:action:process")

runlevels: (0-6,A-C,or empty)

0 & 6 are used for shutting the machine down

1 is reserved for single-user mode

2-5 are available to define custom operating configurations

A-C are used for "ondemand" actions (*not* a runlevel change)

action values of particular interest (there are others, see man inittab)

This line in /etc/inittab instructs /sbin/init what to do next:

si::sysinit:/etc/rc.d/rc.sysinit


next up previous contents
Next: 2.3.1.2 rc.sysinit Up: 2.3.1 System 5 init Previous: 2.3.1 System 5 init   Contents