LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 03:51 AM   #1
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Rep: Reputation: 49
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, 04:04 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,487

Rep: Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077Reputation: 1077
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, 04:24 AM   #3
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

Original Poster
Rep: Reputation: 49
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 04:26 AM.
 
Old 09-19-2011, 05: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, 06:09 AM   #5
stf92
Senior Member
 
Registered: Apr 2007
Location: Buenos Aires.
Distribution: Slackware
Posts: 3,268

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 11:52 AM
[SOLVED] Optimize slack boot process / init scripts ? H_TeXMeX_H Slackware 73 10-12-2007 05:47 AM
abi file in the /boot directory -- possibly theoretical question only mpts Ubuntu 0 09-04-2007 11:31 AM
starting named on boot without init scripts evilchild Suse/Novell 1 03-05-2005 08:46 AM
X not starting on boot (init scripts) cootetom Mandriva 11 05-05-2004 09:37 AM


All times are GMT -5. The time now is 12:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration