[parted-devel] [PATCH v2] gpt: support padding between Partition Header and Partition Table.

Brian C. Lane bcl at redhat.com
Thu Jun 7 17:38:09 BST 2018


On Fri, May 04, 2018 at 11:47:51AM -0400, Phil Susi wrote:
> On 4/2/2016 7:12 PM, Tzu-Jung Lee wrote:
> > Some SoC requires their booting code at a specific location, which
> > might conflict with the default layout of GPT.
> > 
> > Supporting a specified PartitionEntryLBA is required in this case.
> > 
> > Signed-off-by: Tzu-Jung Lee <roylee17 at currant.com>
> 
> This patch appears to move the starting location of the PTE.  Doesn't
> the UEFI standard require it to start in sector 2?

I don't see anything in the spec that requires a value for it. I also
wouldn't be surprised if there was code out there that assumed it was
always 2.

After letting this sit for all this time, I'm a bit more reluctant to
take this kind of change, unless the system that needs it is in
widespread use.

-- 
Brian C. Lane (PST8PDT)



More information about the parted-devel mailing list