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

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

I am using 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?

Old 05-20-2010, 01:05 AM   #2
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!


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 01:03 AM
parameters to "root=" boot option zigi1234 Linux - Newbie 4 05-13-2008 01:35 PM
Standard commands give "-bash: open: command not found" even in "su -" and "su root" mibo12 Linux - General 4 11-11-2007 10:18 PM
How can I get an option: "Right click to open folder in root" in konqueror sleekmason Linux - Software 2 09-25-2006 03:51 PM
"root=" option for SATA drives to avoid kernel panic neelay1 Linux - Software 1 05-01-2006 01:18 PM > Forums > Linux Forums > Linux - Newbie

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