Differences between revisions 15 and 16
Revision 15 as of 2008-01-26 19:35:14
Size: 1214
Editor: FranklinPiat
Comment: merge "sysinit" here.
Revision 16 as of 2009-03-16 03:36:22
Size: 1220
Editor: anonymous
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
["BootProcess"] > init [[BootProcess]] > init
Line 10: Line 10:
The [:inittab:/etc/inittab] configuration contains tells init what to do. Especially it contains the lines : The [[inittab|/etc/inittab]] configuration contains tells init what to do. Especially it contains the lines :
Line 18: Line 18:
Which causes the files /etc/init.d/rcS to run initialization scripts (in /etc/rcS.d/*), then scripts for requested [:RunLevel:runlevel] (in /etc/rcS.[0-9]/*). Which causes the files /etc/init.d/rcS to run initialization scripts (in /etc/rcS.d/*), then scripts for requested [[RunLevel|runlevel]] (in /etc/rcS.[0-9]/*).
Line 22: Line 22:
 * [http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=init Init man page].
 * [http://linuxreviews.net/man/init/ Init(8) man page].
 * [[http://node1.yo-linux.com/cgi-bin/man2html?cgi_command=init|Init man page]].
 * [[http://linuxreviews.net/man/init/|Init(8) man page]].
Line 25: Line 25:
 * ["sysinit"] The system initialization process
 * ["Initrd"]
 * [[sysinit]] The system initialization process
 * [[Initrd]]

BootProcess > init


Init is the first program to run after your system is booted, and continues to run as process number 1 until your system halts. Init's job is to start other programs that are essential to the operation of your system. All processes are descended from init. For more information, see the manual page init(8).

Overview :

The system initialization process is handled by the init daemon.

The ?/etc/inittab configuration contains tells init what to do. Especially it contains the lines :

  • id:2:initdefault:
    
    si::sysinit:/etc/init.d/rcS
    
    l2:2:wait:/etc/init.d/rc 2

Which causes the files /etc/init.d/rcS to run initialization scripts (in /etc/rcS.d/*), then scripts for requested runlevel (in /etc/rcS.[0-9]/*).

See also: