LinuxQuestions.org
Review your favorite Linux distribution.
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 05-19-2010, 09:20 AM   #1
rajkiransingh
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Post how does kernel select the right driver specified in the "root" CMDLINE option?


Hi,
I am using 2.6.28.9 kernel and i see two config files in the archive with different CMDLINE options. one CMDLINE option specifies 'root=/dev/mmcblock0' and the other specifies 'root=/dev/mmcblock0_xyz'.

Looking at these two CMDLINE options, it seems that the kernel selects the right driver based on the 'root' argument.

Can anybody tell where this registration/mapping happens in the kernel so that i can choose which driver to use based on the 'root' CMDLINE option?

Thanks.
 
Old 05-20-2010, 02:05 AM   #2
kurwongbah
Member
 
Registered: Apr 2010
Posts: 82

Rep: Reputation: 23
Hi and welcome to LQ!
To tell you the truth I'm puzzled.
I do not know which archive you are referring to.
The root=... thing looks like a kernel parameter used to specify the device to use for mounting the root file system during boot.
It's not a driver...
Please clearify!
 
  


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
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 7 12-19-2015 02:03 AM
parameters to "root=" boot option zigi1234 Linux - Newbie 4 05-13-2008 02:35 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 11:18 PM
How can I get an option: "Right click to open folder in root" in konqueror sleekmason Linux - Software 2 09-25-2006 04:51 PM
"root=" option for SATA drives to avoid kernel panic neelay1 Linux - Software 1 05-01-2006 02:18 PM


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