免费注册 查看新帖 |

Chinaunix

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

我知道怎么在Linux里面查看其它硬盘信息了!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-09-24 22:18 |只看该作者 |倒序浏览
用fdsik /dev/hda
进入command (m for help):
输入p
就会显示硬盘系统而分区格式及其起始柱面
[root@qing root]# fdisk /dev/hda

The number of cylinders for this disk is set to 9729.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot   Start       End   Blocks   Id  System
/dev/hda1   *        1      1913  15366141   7  HPFS/NTFS
/dev/hda2         1914      9728  62773987+  f  Win95 Ext'd (LBA)
/dev/hda5         1914      3825  15358108+  7  HPFS/NTFS
/dev/hda6         3826      6503  21511003+  7  HPFS/NTFS
/dev/hda7         6504      9728 25904781    7  HPFS/NTFS
本人用的是双硬盘,主盘安装的是XP,也可以在Command (m for help):提示符下输入m,就能查看fdisk的实用程序命令!

论坛徽章:
3
CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52
2 [报告]
发表于 2007-09-24 23:17 |只看该作者
分享楼主的快乐……
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP