免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2081 | 回复: 5
打印 上一主题 下一主题

系统对硬盘类型的识别? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-05-14 09:10 |只看该作者 |倒序浏览
本帖最后由 xs3c 于 2010-05-14 09:12 编辑
  1. 0:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)

  2. 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev

  3. 03)
  4. 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev

  5. 03)
  6. 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
  7. 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
  8. 00:1c.4 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 5 (rev 02)
  9. 00:1c.5 PCI bridge: Intel Corporation 82801GR/GH/GHM (ICH7 Family) PCI Express Port 6 (rev 02)
  10. 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
  11. 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
  12. 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
  13. 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
  14. 00:1e.0 PCI bridge: IntelCorporation 82801 Mobile PCI Bridge (rev e2)
  15. 00:1f.0 ISA bridge: Intel Corporation 82801GHM (ICH7-M DH) LPC Interface Bridge (rev 02)
  16. 00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
  17. 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
  18. 01:00.0 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
  19. 01:00.1 Ethernet controller: Intel Corporation 82571EB Gigabit Ethernet Controller (rev 06)
  20. 04:08.0 Ethernet controller: Intel Corporation 82801G (ICH7 Family) LAN Controller (rev 02)
  21. 04:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
复制代码
上面是lspci显示的信息。配置文件里我没有添加scsi low-level drivers都没有选,系统识别硬盘的设备文件是/dev/hda  我的问题硬盘是串口sata的为啥设备文件会是/dev/hda呢?

论坛徽章:
0
2 [报告]
发表于 2010-05-14 12:33 |只看该作者
如果你是串口sata硬盘,那为什么不选scsi low-level drivers

如果不选,那系统会用默认驱动

论坛徽章:
0
3 [报告]
发表于 2010-05-14 15:18 |只看该作者
谢谢楼上的回答,即便我选上scsi low-level drivers 系统依然识别的/dev/hda。在系统中有能不能看具体用的硬盘驱动?我在/sys/block/hda目录 没有看到。

论坛徽章:
0
4 [报告]
发表于 2010-05-14 20:53 |只看该作者
具体用的硬盘驱动好像是在内核里,但具体怎么看驱动还是不太清楚

论坛徽章:
0
5 [报告]
发表于 2010-05-14 21:02 |只看该作者
选libata了?

论坛徽章:
0
6 [报告]
发表于 2010-05-15 10:24 |只看该作者
回复 5# Celinde


    没有选。 我以前一直是这样理解的 硬盘是IDE口的设备文件名识别出来应该是hd* sata口的识别出来应该是sd*。但是事实上好像不是这么回事,应该我一台机子是IDE口结果系统识别设备文件名是sd 而一个是sata系统却设备文件却是 /dev/hd。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP