工作学习日志0925

上一篇 / 下一篇  2008-09-25 19:45:52

发现一个笔记奇怪的现象,在终端,80G的硬盘fdisk -l 看到的容量和df看到的容量不一致。uclibc[app]# ./fdisk -l
Disk /dev/ide/host0/bus0/target1/lun0/disc: 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/ide/host0/bus0/target1/lun0/part1 1 9729 78148161 83 Linux
uclibc[app]# df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 1024 920 104 90% /
/dev/ide/host0/bus0/target1/lun0/part1 76920416 306824 72706184 0% /root

答:这两个单位是不一样的。用df看到的是以M为单位,而用fdisk 看到的是


lsmod 查看系统加载了哪些模块
insmod 加载模块的命令。



TAG:

 

评分:0

我来说两句

我的栏目

日历

« 2024-04-22  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 5461
  • 日志数: 10
  • 建立时间: 2008-07-04
  • 更新时间: 2009-01-09

RSS订阅

Open Toolbar