LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-09-2005, 03:31 AM   #1
superstition
LQ Newbie
 
Registered: May 2005
Posts: 10

Rep: Reputation: 0
device file to understand


Question 1:

Suppose my computer have two SCSI cards and two SCSI HDs.
1st SCSI HD is on 1st SCSI card and 2nd SCSI HD is on 2nd SCSI card.

according to devices.txt :
(0-15) sda~sdp , major=8

(16-31) sdq~ sdaf , major=65

How 2nd SCSI HD on 2nd SCSI card should mount device file ?
Mount sdb or sdq ?

My idea is "sdq" mounted because different SCSI cards have
different major number which represents a driver.

Major number =8 controls HDs on first SCSI card and major number=65 controls HDs on second SCSI card.

Is My idea correct ?


Question 2:

Normally, common computer have two IDE controllers.
My IDE HD connects with 2nd IDE interface , but 1st IDE connects with
other devices.

according to devices.txt :
22 block Second IDE hard disk/CD-ROM interface
0 = /dev/hdc Master: whole disk (or CD-ROM)
64 = /dev/hdd Slave: whole disk (or CD-ROM)
.............
.............

How IDE HD should mount device file ?
Mount hda or hdc ?

My HD is on 2nd IDE interface and I should mount "hdc" .
However , "hdc" represent third HD and I just have one HD,
so I should mount hda that represents first HD.

Should I mount hda or hdc ??

Thanks for everybod's reply.
 
Old 11-11-2005, 05:01 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.

Now back to the questions...

1. sdq seems a logical choice. Note that if you look into the logs (/var/log/messages file) you will have messages from the drivers loading. SCSI driver should print the drives it found at boot with names assigned to them.

2. hdc means secondary master drive, it doesn't matter what it is. hdd is secondary slave.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't quite understand The File Hierarchical System in Linux? jacatone Linux - Newbie 3 08-07-2005 09:55 PM
to understand log file diego-bellini Linux - Security 3 10-22-2004 12:51 PM
Assign one USB-storage device to one device file Misel Linux - Hardware 1 08-28-2004 03:52 AM
How to understand vsftpd.log file?? venkateshp Linux - Software 0 07-23-2004 12:53 AM
How can we create file device? l_9_l Linux - General 1 01-11-2002 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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