How can I calcuate disk space from cylinders, heads, and sectors?
How can I calcuate disk space from cylinders, heads, and sectors?
I have a 6.4gb hard drive can am getting conflicting data.
The harddrive label says
Capacity: 6.4gb
Cylinders: 16383
Heads: 16
Sectors: 63
fdisk -l says
Capacity: 6849M (6,849,124,864 bytes)
Cylinders: 14,155
Heads: 15
Sectors: 63
Units = cylinders of 945 * 512 = 483,840
Why is there a discrepancy between the hd label and fdisk?
Also when I multiple Units by Cylinders I get 6,848,755,200b which is 369,664 less than the capacity that fdisk calculated. Does units * cyclinders = capcity?
Where does the 945 come from where fdisk says "cylinders of 945"?
|