[parted-devel] [PATCH] Revert small device commits

Jim Meyering jim at meyering.net
Sun Dec 30 07:50:28 UTC 2012


Phillip Susi wrote:
> The following commit broke the position of the LastUsableLBA:

Hi Phillip,
Thanks for the patch, but I don't understand the above explanation.

What motivated you to make this change?

> 48f236f9: gpt: permit "mklabel gpt" on a 67-sector device
>
> This effectively reverts that commit, as well as adjusting the subsequent
> commits to instead use 68 sectors as the minimum length, since there
> appears to be other parted code that can not cope with a partition table
> without room for at least a 1 sector partition,

Please provide details of the above.

> and creating a partition
> table without room for any partitions is silly anyhow.

IMHO, there is value in testing the limits of the code.
Unless the specification prohibits it -- or maybe if it's too hard
to do right -- I would like to support it.



More information about the parted-devel mailing list