Does diffoscope compares disk partitions

intrigeri intrigeri at
Thu Mar 2 21:29:35 UTC 2023


Mattia Rizzolo (2023-03-01):
> On Wed, Mar 01, 2023 at 10:55:41AM +0000, Chris Lamb wrote:
>> > Does it support disk partitions or do I missing something?
>> The short answer is that that diffoscope *should* support comparing your
>> partition images properly, instead of falling back to a raw
>> xxd(1) comparison. The reason diffoscope doesn't do that right now is
>> either due to a bug, or we just need to extend support for this
>> particular type of partition.
> Mhh, I don't think it should.
> I don't reckon ever seeing anything related to GPT or MBR, so I don't
> think diffoscope supports whole disk images with a partition tables.

IIRC at Tails, we happily used diffoscope to compare our "USB images",
which are full disk images with a GPT and an ESP (+ the hybrid GPT
machinery to make them bootable as legacy BIOS too).

Take care,

More information about the rb-general mailing list