Does diffoscope compares disk partitions

Chris Lamb chris at
Wed Mar 1 10:55:41 UTC 2023

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 partition.

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:

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

Best wishes,

    ⬋   ⬊      Chris Lamb
   o     o 💠
    ⬊   ⬋

More information about the rb-general mailing list