Does diffoscope compares disk partitions

Venkata.Pyla at Venkata.Pyla at
Wed Mar 1 18:43:04 UTC 2023

Hi Chris, 

Thanks for your replay, please see my inline comments.

>-----Original Message-----
>From: Chris Lamb <chris at>
>Sent: 01 March 2023 16:26
>To: pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla at toshiba-
>>; rb-general <rb-general at>
>Subject: Re: Does diffoscope compares disk partitions
>Hey Venkata,
>> 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
>Correctly detecting DOS/MBR files is somewhat more fiddly than one might
>think, but the pertinent part of the debug log is this:
>> image1.wic not identified by any comparator. Magic says: DOS/MBR boot
>> sector; partition 1 : ID=0xee, start-CHS (0x0,0,2), end-CHS
>> (0x3ff,255,63), startsector 1, 12546899 sectors, extended partition
>> table (last)
>Would it be possible for you to share the two .wic images somewhere?
>In fact, if you could re-file this issue in our bug tracker, that would be great:

Thanks, I created an issue and shared the details in the ticket

>(And just for clarity, the ".wic" files are files containing raw partitions, but the
>".disk" files contain entire disk images including a partition table?)

Yes, "*.wic" images are disk images with partition table and "*.disk" images are images with-out partition table.

>Best wishes,
>      o
>    ⬋   ⬊      Chris Lamb
>   o     o 💠
>    ⬊   ⬋
>      o

More information about the rb-general mailing list