Linux支持IDE硬盘,Linux中,IDE硬盘为啥表示成hda,不是iha?

Linux中,IDE硬盘为啥表示成hda,不是iha?

关注:178  答案:2  mip版

解决时间 2021-01-25 23:32

e6cb1a03ad541b3098697807b7bf1798.png

提问者一段小時光

2021-01-25 05:46

SCSI硬盘就表示为sda

最佳答案

e6cb1a03ad541b3098697807b7bf1798.png

二级知识专家久愛不厭

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.

全部回答

e6cb1a03ad541b3098697807b7bf1798.png

1楼酒空人散

2021-01-25 08:21

是ide硬盘。

/dev/hda的意思是第一块ide硬盘。

/dev/是指设备文件所在的目录名。

hd是ied硬盘,sd是scsi硬盘(或sata硬盘)。

a的意思是第一块,b是第二块,以此类推。

我要举报

如以上问答内容为低俗/色情/暴力/不良/侵权的信息,可以点下面链接进行举报,我们会做出相应处理,感谢你的支持!

→点此我要举报以上信息!←

推荐资讯

大家都在看

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值