question on sfdisk geometry estimation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

using sfdisk -l I had this output:

Disk /dev/sda: 19457 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+   3038    3039-  24410736    7  HPFS/NTFS/exFAT
/dev/sda2      18936+  19456-    521-   4180680   12  Compaq diagnostics
/dev/sda3       3039    5390    2352   18892440   83  Linux
/dev/sda4       5391   18935   13545  108800212+   5  Extended
/dev/sda5       9725+  12764    3040-  24418768+   7  HPFS/NTFS/exFAT
/dev/sda6      12765+  18935    6171-  49568526    7  HPFS/NTFS/exFAT

Disk /dev/sdb: 10337 cylinders, 240 heads, 63 sectors/track
Units = cylinders of 7741440 bytes, blocks of 1024 bytes, counting from 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sdb1   *      0+   4604-   4605-  34812823+   7  HPFS/NTFS/exFAT
/dev/sdb2       9782   10336     555    4195800   12  Compaq diagnostics
/dev/sdb3       5952    9781    3830   28954800    f  W95 Ext'd (LBA)
/dev/sdb4       4604+   5951-   1348-  10183680    7  HPFS/NTFS/exFAT
/dev/sdb5       5952+   9781    3830-  28954768+   b  W95 FAT32


So I'm wondering why sfdisk assumed sdb to be 240 head-aligned instead of 255.
All partitions except the sdb2 match with the 255*63 alignment.

Any hint, how the geometry should be estimated correctly?

Many thanks to your answer,

-Ulf

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux