At 05:26 PM 6/4/05 -0700, Neil wrote:
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
Here's something strange I noticed in the comparison between the two fdisk
reports above. Your partitions start with the next cylinder, e.g. sda1
ends with 262 and sda2 starts with 263. However, mine starts with the same
one, e.g. hda1 ends with 2710 and hda2 starts with 2710 (the same
one). Maybe the partition boundary is somewhere within the same
cylinder. Are the boundaries supposed to be between cylinders? I'm
wondering if this is the overlap problem on my system that Partition Magic
complained about. Ideas anyone?
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie