Linux中,IDE硬盘为啥表示成hda,不是iha?
关注:178 答案:2 mip版
解决时间 2021-01-25 23:32
提问者一段小時光
2021-01-25 05:46
SCSI硬盘就表示为sda
最佳答案
二级知识专家久愛不厭
2021-01-25 06:55
当初就是这么命名的。
hd 是 hard drive ,硬盘驱动器的意思。
sd 是 scsci drive ,scsi接口的驱动器。
详细解释:
关于/dev/hd*
By convention, IDE drives where given device names /dev/hdato /dev/hdd. Hard Drive A( /dev/hda) is the first drive and Hard Drive C( /dev/hdc) is the third.
A typical PC has two IDE controllers, each of which can have two drives connected to it. For example, /dev/hdais the first drive (master) on the first IDE controller and /dev/hddis the second (slave) drive on the second controller (the fourth IDE drive in the computer).
So, typically, a computer with IDE controller can accomodate 4 drives: /dev/hda (primary master), /dev/hdb (primary slave), /dev/hdc (secondary master), /dev/hdd (secondary slave). Some (rare) Mother Boards have more than two controllers, some addition cards can also have controllers, these are numbered following the alphabet, but one have to figure out what real names are given for his particular hardware.
关于/dev/sd*
Now all the rotating hard drives uses the same names as the old SCSI controllers, that is "s" in place of "h", so /dev/sda, and so on. The number of drives depends on the number of controllers on the Mother Board or the extended boards. Usually 4 are available. What will be the number of a drive is up to the controller card and the way it's read by the kernel, so difficult to say at first.
全部回答
1楼酒空人散
2021-01-25 08:21
是ide硬盘。
/dev/hda的意思是第一块ide硬盘。
/dev/是指设备文件所在的目录名。
hd是ied硬盘,sd是scsi硬盘(或sata硬盘)。
a的意思是第一块,b是第二块,以此类推。
我要举报
如以上问答内容为低俗/色情/暴力/不良/侵权的信息,可以点下面链接进行举报,我们会做出相应处理,感谢你的支持!
→点此我要举报以上信息!←
推荐资讯
大家都在看