LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 02-25-2004, 04:02 PM   #1
fatzo
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
Init running before other initialisation?


I have Slackware 9.1 (Kernel 2.4) on my PC and I notice that the output from init (INIT) scripts come before some other initialisation like USB etc. Anybody has any clue why this is so?. So does it mean that INIT is getting started before the other kernel initialisation is completed?. I always thought that INIT was called as the last thing in the kernel startup sequence. Or, is it just that I am seeing some jumbled console output?
Thanks!
 
Old 02-26-2004, 05:24 AM   #2
Dave_bsr
LQ Newbie
 
Registered: Apr 2002
Location: Michigan (msu)
Distribution: mandrake
Posts: 27

Rep: Reputation: 15
INIT answers

INIT is the very very very first thing that starts. The kernel loads itself up, does all its initialization tasks ( just getting the kernel loaded and running).

Then, the kernel runs INIT. And then INIT does everything else: starting up scripts, to mount drives, and start services, and X, and terminal login programs, and whatever else you want. but INIT runs it all - it is the first program to run (and usually the last one before you shut down).

You can read more about it at the linux documentation project's howto on system administration:

here

here

and here

...it's really good stuff to know.
 
Old 02-26-2004, 06:51 AM   #3
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 46
Another thing to remember is that init starts the logging daemons kerld and syslogd. So of course nothing gets logged until init is started. And the root filesystem is initially mounted read-only and it is init which remounts it read-write, another reason nothing is logged until init is started.
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between init.d, xinetd and running service as a dameon jstephens84 Linux - Newbie 1 09-13-2004 07:19 PM
newbie: how to see see what services my machine is running under init.d ? sirpelidor Linux - Newbie 2 06-24-2004 03:20 PM
Is there something like rc.local for system initialisation? brian-e Debian 3 01-20-2004 08:56 AM
Initialisation string C8H10N4O2 Linux - Newbie 2 03-17-2003 08:29 AM
inetd script in /etc/init.d is running amuck int0x80 Linux - Newbie 1 03-07-2003 10:51 PM


All times are GMT -5. The time now is 08:17 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