LinuxQuestions.org
Review your favorite Linux distribution.
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-17-2008, 01:59 PM   #1
lipun4u
Member
 
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118

Rep: Reputation: 15
Smile init and sched


After booting, GRUB gives control to the starting process.(my teacher told me).

the starting process may be init or shed. it depends upon implementation.

I know shed is the scheduler in unix. What does this shed do ????
 
Old 09-17-2008, 02:12 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I believe that GRUB (or any boot loader) gives control to the kernel. After the kernel has completed its initial startup, it passes control to a program such as init. Then init is responsible for getting the rest of the system set up.

If I understand correctly, any kernel has to have a scheduler function--is that the "sched" you are referring to?

In Linux, I believe the call to init is built into the kernel.
 
Old 09-18-2008, 03:21 AM   #3
lipun4u
Member
 
Registered: Sep 2008
Location: Mumbai, india
Distribution: ubuntu and hp-unix
Posts: 118

Original Poster
Rep: Reputation: 15
but in my pc shed has pid 0 and init has 1.

hence shed starts before init.
 
  


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
Error in including sched.h imsandy_007 Programming 10 11-21-2006 11:12 PM
problem in including linux/sched.h sudeepghiya Linux - General 1 11-02-2006 10:35 AM
Architecture dependency of switch_to in /kernel/sched.c skie_knite007 Programming 0 02-19-2006 08:40 AM
staircase vs O(1) (CPU sched) SciYro Linux - General 4 04-06-2005 03:07 PM
urgent:compiling problem sched.o error vsu Linux - General 1 12-01-2003 09:50 PM

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

All times are GMT -5. The time now is 05:33 PM.

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