LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-01-2008, 04: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, 10:20 PM   #2
tommylovell
Member
 
Registered: Nov 2005
Distribution: Raspbian, Debian, Ubuntu
Posts: 380

Rep: Reputation: 103Reputation: 103
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-01-2008, 11:18 PM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
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



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

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

All times are GMT -5. The time now is 07:26 AM.

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