LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2011, 02:51 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Rep: Reputation: 76
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?
 
Old 09-19-2011, 03:04 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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)
 
Old 09-19-2011, 03:24 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

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

Last edited by stf92; 09-19-2011 at 03:26 AM.
 
Old 09-19-2011, 04:42 AM   #4
samtoddler
Member
 
Registered: Jul 2011
Location: Delhi
Distribution: Cent OS/RHEL
Posts: 37

Rep: Reputation: Disabled
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
 
1 members found this post helpful.
Old 09-19-2011, 05:09 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 4,442

Original Poster
Rep: Reputation: 76
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Startup scripts in init.d disappear after boot up lbuccola Programming 1 07-08-2010 10:52 AM
[SOLVED] Optimize slack boot process / init scripts ? H_TeXMeX_H Slackware 73 10-12-2007 04:47 AM
abi file in the /boot directory -- possibly theoretical question only mpts Ubuntu 0 09-04-2007 10:31 AM
starting named on boot without init scripts evilchild SUSE / openSUSE 1 03-05-2005 07:46 AM
X not starting on boot (init scripts) cootetom Mandriva 11 05-05-2004 08:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration