util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* question on sfdisk geometry estimation
@ 2012-11-27 10:14 Ulf Zibis
  2012-11-27 14:43 ` Ulf Zibis
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Zibis @ 2012-11-27 10:14 UTC (permalink / raw)
  To: util-linux

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-11-27 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-27 10:14 question on sfdisk geometry estimation Ulf Zibis
2012-11-27 14:43 ` Ulf Zibis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).