Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-17-2008, 02:59 PM   #1
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, 03:12 PM   #2
LQ Veteran
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
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, 04:21 AM   #3
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.


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

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

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