[parted-devel] Partition tables and ARM booting

Phil Susi psusi at ubuntu.com
Tue Dec 12 14:04:35 UTC 2017


On 12/9/2017 12:07 AM, Danny Milosavljevic wrote:
> And a minimal simple API would be
> 
> * gpt_limit_partition_count_by_sector which would do something
> similar to what gpt_get_max_supported_partition_count already does
> (!).  gpt_get_max_supported_partition_count already contains the
> calculation needed, although the sector number is hard-coded to 34
> there.
> 
> struct _PedDiskOps would have also to be extended in order to export
> those (just limit_partition_count_by_sector would be enough, too).

There is the rub: PedDiskOps represents generic partition table
operations.  This is entirely specific to gpt, so does not fit there.

Is this sector well known and standard or does it vary?  If it is well
known then perhaps a partition table flag "arm-boot" could be used to
trigger the GPT reduction?



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/parted-devel/attachments/20171212/63bde121/attachment.sig>


More information about the parted-devel mailing list