LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-01-2008, 05:47 PM   #1
lincoln.runwal
LQ Newbie
 
Registered: Dec 2008
Posts: 28

Rep: Reputation: 15
Exclamation linux device driver


Hi,
why/How to know that ide hdd use /dev/hda driver. why it is not use /dev/sda
or other what is the process to know that unknown device will use following driver.
 
Old 12-01-2008, 11:20 PM   #2
tommylovell
Member
 
Registered: Nov 2005
Distribution: Fedora, Redhat
Posts: 372

Rep: Reputation: 101Reputation: 101
Traditionally IDE devices were named /dev/hdX; and SCSI devices were /dev/sdX.

That changed, I believe, with the 2.6 kernel. IDE devices are now named /dev/sdX.
 
Old 12-02-2008, 12:18 AM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 37
I am not sure I understand your question.
udev determines how a device will be assigned according to the udev rules. In other words, udev determines weather it is hdc, hda, etc..... Then fstab assigns ownership, permissions, and mount point.

google udev tutorial

Hope this helps.
What do you need the info for anyways?

Also, one way to find the device assignment is
su
fstab -l
 
  


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
Multiple Device driver from single device driver???? rickhg12hs Linux - Kernel 3 05-25-2008 01:11 AM
Linux Device Driver malacma Linux - Software 10 10-09-2007 07:14 AM
linux device driver faris10 Linux - Kernel 4 07-25-2007 10:51 AM
Linux Device Driver Bible? yspm Programming 2 01-03-2006 10:30 PM
Linux Device Driver Development aslv Linux - Certification 0 09-27-2004 09:42 AM


All times are GMT -5. The time now is 01:36 PM.

Main Menu
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