[parted-devel] [PATCH][RFC] Print maximum size of GPT

Brian C. Lane bcl at redhat.com
Mon Mar 9 18:45:48 GMT 2020


On Wed, Feb 26, 2020 at 01:42:39PM +0100, Anna Maresova wrote:
> Hi all,
> 
> I encountered with mkpart failure due to maximum size of GPT reached. To be
> able to deal with this issue, I would need parted capable of printing the
> maximum number of primary partitions.
> 
> This patch would do the job for me, but I am not sure if it would not break
> something else I am not aware of. Could you please comment on it?

Wow, so you're using > 128 partitions?

In theory GPT can support more, but parted doesn't have any way to
create them so we've never needed to display that.

Thanks for the patch, but it would break anything parsing the output,
and for something as unusual as this I don't think we want to do that.

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




More information about the parted-devel mailing list