jsz
2013-07-10 10:23:51 +08:00
我的
$ sudo fdisk -l /dev/sda
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
>>> 255 * 63 * 38913
625137345
>>> 625142448 * 512
320072933376
容量确实等于 #sectors * sector-size。但是这一行里「255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors」,最后一个数并不等于前三个的乘积。