[parted-devel] [PATCH] Always allow at least two sectors for extended boot record

Phillip Susi psusi at cfl.rr.com
Wed Apr 14 02:33:04 UTC 2010


On Tue, 13 Apr 2010 18:29:56 +0200
Petr Uzel <petr.uzel at suse.cz> wrote:

> Just a blind guess: did you run the test with parted with 'reintroduce
> BLKPG' patch applied? AFAIK the bug doesn't show with BLKRRPART. 

The two issues are not related.  This is a confirmed bug in the kernel
where it always sets the size of the extended partition to 2 sectors,
even when the second sector is not there since it is the first sector of
the logical partition.  The BLKPG patch just causes the error to show
up immediately instead of after a reboot, since without the patch
BLKRRPART fails and the partition table is not read until reboot.




More information about the parted-devel mailing list