[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-xorriso] PMBR sizing with appended_part_as=gpt
From: |
Thomas Schmitt |
Subject: |
Re: [Bug-xorriso] PMBR sizing with appended_part_as=gpt |
Date: |
Tue, 08 Jan 2019 09:54:17 +0100 |
Hi,
Paul Robins wrote:
> Whereas before the PMBR contained the appended
> partition and thereby covered the entirety of the space the GPT did, now the
> PMBR doesn't contain the appended partition, and the protective partition
> entry is not extended to the end of the ISO.
Indeed i can reproduce this by using a mounted grub-mkrescue ISO as
source of data. (The code has too much history and special cases piled up,
i fear.)
> https://dev.lovelyhq.com/libburnia/libisofs/blob/master/libisofs/system_area.c#L2054-2064
> [...] should fire, but due to a code path
> called earlier, mbr_req is not actually empty, but already includes a
> prototype PMBR that is set to the length of the ISO data, not including the
> appended partition.
I am now investigating. This may last a while.
Have a nice day :)
Thomas