I'll try to explain. After you turn your system on a number of things
occur:
ROM checks your hardware and looks for a bootstrap program, i.e. lilo.
The kernel is located and loaded into memory.
root filesystem is checked and process 0 is started, i.e. swapper
Process 1(init) is started by the kernel.
init starts other services as is indicated in its configuration file -
/etc/inittab
init is responsible for putting your system into one of a number of
run levels. It does this by looking for the entry initdefault in the
/etc/inittab file.
Once init knows what run level you're in it executes the scripts the
corresponding rc directory. For example if your machine were to execute run
level 3 then the scripts in /etc/rc.d/rc3.d would be executed. How does it
do this? By executing /etc/rc.d/rc 3. Look in your inittab for such an
entry.
Now if you look in your /etc/rc.d/rc3.d directory you will see a
number of files like so: K30syslog, K80gpm, S35random. The K tells you what
service to start when you enter the run level and the S tells you what
service to stop when you leave that particular run level. The numbers tell
you in which order to execute the service, i.e. K30 comes before K80,
therefore syslog is started before gpm.
I'm not an expert on this (did I miss anything guys?) but at least it is my
understanding of how it works. BTW, I believe this is what they refer to as
System V style start up.
Mike
"Selim Jahangir" <[EMAIL PROTECTED]> on 09/20/2000 12:43:53 AM
Please respond to [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
cc:
Subject: Booting sequence in Linux
Dear All
Can u please write the sequeneces of booting in Linux/Unix system.
What does actually do the "init" process ?
Thanks
selim
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list