I have run
sudo fdisk -l and have got the following information:
Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
This utility shows the whole size of the hard disk (
120034123776 bytes) and its number of heads (
255 heads), sectors per track (
63 sectors/track) and number of cylinders (
Multiplying heads X sectors per track X number of cylinders we must have number of sectors in the disk.
255 X 63 X 14593 = 234436545
Having in mind that every sector is of size 512 bytes, we have
234436545 X 512 = 120031511040
120031511040 != 120034123776, therefore, the question is: does fdisk shows incorrect information or there is something that I have missed in my calculations?