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

Anna Maresova anicka at suse.cz
Thu Mar 12 09:48:53 GMT 2020


> > Wow, so you're using > 128 partitions?
> 
> I wonder about that as well.  Also how does printing the number help?

No, this got to me when the installation of our distribution failed on one
particular ARM machine with "Error: Too many primary partitions" - not really
helpful message even for figuring out what went wrong. Maximum size was 15 in
this case and knowing the number would help our installer to deal with the
situation. But I can work it around somehow, of course.

> > 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.
> 
> Anything parsing the output should be parsing the machine parsable
> version, where new fields can be added at the end without breaking
> existing parsers.

This is what I was hoping for.

Anna

-- 
Anna Maresova
SUSE Labs



More information about the parted-devel mailing list