LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   INIT and the boot scripts, a theoretical question. (https://www.linuxquestions.org/questions/linux-newbie-8/init-and-the-boot-scripts-a-theoretical-question-903785/)

stf92 09-19-2011 02:51 AM

INIT and the boot scripts, a theoretical question.
 
Hi: a theoretical question: can I say that the boot scripts are all run after INIT runs?

syg00 09-19-2011 03:04 AM

Probably ...
Depends on what you mean by:
- "boot scripts" (boot has well and truly finished by the time INIT is scheduled), and
- "INIT runs" (INIT rarely terminates)

stf92 09-19-2011 03:24 AM

boot scripts: let's change the question. Is any of the scripts found in /etc run before the screen shows: 'INIT: x.xx booting' ?

samtoddler 09-19-2011 04:42 AM

Hi,

I think boot is finished when the init process starts. as soon as the init process starts it reads the /etc/inittab file
and take the system into the mentioned runlevel,after getting the runlevel the corresponding scripts are executed
in the /etc/rc(1,2,3,4,5,6).d/

samtoddler

stf92 09-19-2011 05:09 AM

Fine. I was trying to follow the tree whose root is inittab. Now I do know it is the "root". As I have an old linux, I hope the job will not be too big. That is, I want to draw a on paper a flow diagram showing the order (partial order) in which those scripts are executed.


All times are GMT -5. The time now is 10:59 AM.