Lief Hendrickson said:

> The multiplication "product" - greater than the product of
> Heads*Cylinders*Sectors*512
> Here is the Linux Fdisk output:
>
> Disk /dev/hda: 61.4 GB, 61491756544 bytes
> 240 heads, 63 sectors/track, 7943 cylinders
> Units = cylinders of 15120 * 512 = 7741440 bytes
>
>     Device Boot      Start         End      Blocks   Id  System
> /dev/hda1   *           1        2710    20487568+   c  W95 FAT32
> (LBA)
> /dev/hda2            2710        7943    39566205    f  W95 Ext'd
> (LBA)
> /dev/hda5            2710        4065    10241437+   b  W95 FAT32
> /dev/hda6            4065        4078      102280+  83  Linux
> /dev/hda7            4078        4113      262048+  82  Linux swap
> /dev/hda8            4113        7943    28953760+  83  Linux
>
>
> Note the first line says 61,491,756,544 bytes
>
> However,  heads * cylinders * sectors * 512 = 240 * 7943 * 63 * 512 =
> 61,490,257,920
>
> The first line of the report is too high by 61,491,756,544 -
> 61,490,257,920
> = 1,498,624 bytes
>
> Where did the extra bytes come from?

Good question. I don't have an answer. Here's what my system says:

Disk /dev/sda: 36.7 GB, 36722061312 bytes
255 heads, 63 sectors/track, 4464 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1       262   2104483+  83  Linux
/dev/sda2           263       393   1052257+  82  Linux swap
/dev/sda3           394      4464  32700307+  8e  Linux LVM

255 * 63 * 4464 * 512 = 36717649920

36722061312 - 36717649920 = 4411392

So I either lost, or gained depending upon how you look at it 4.4 Mb
somewhere. :-)

Maybe someone who recognizes this mystery will chime in.


-- 
Neil Schneider                              pacneil_at_linuxgeek_dot_net
                                           http://www.paccomp.com
Key fingerprint = 67F0 E493 FCC0 0A8C 769B  8209 32D7 1DB1 8460 C47D
Secrecy, being an instrument of conspiracy, ought never to be the
system of a regular government.
- Jeremy Bentham, jurist and philosopher (1748-1832)

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to