Bug#579948: Some debugging info

2010-06-14 Thread Colin Watson
[Background for parted-devel: the Debian installer is using optimal alignment by default now. However, on Sun labels, this produces crazy start alignments: the user asked for a partition starting at around 10MB, and got one starting at around 16.8GB.] On Mon, Jun 07, 2010 at 03:41:34PM +0100, Jur

Bug#579948: Some debugging info

2010-06-07 Thread Jurij Smakov
By now I'm pretty sure that this problem is due to the alignment code. It goes like this: 1. ped_disk_add_partition() is called to add the partition. The constraint which is passed to it is computed in ped_device_get_optimum_alignment(): /* Align to a grain of 1MiB (like vista / win7) */ alig