Does diffoscope compares disk partitions
Venkata.Pyla at toshiba-tsip.com
Venkata.Pyla at toshiba-tsip.com
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 reproducible-builds.org>
>Sent: 01 March 2023 16:26
>To: pyla venkata(TSIP TMIEC ODG Porting) <Venkata.Pyla at toshiba-
>tsip.com>; rb-general <rb-general at lists.reproducible-builds.org>
>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
>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:
>
> https://salsa.debian.org/reproducible-builds/diffoscope/-/issues
>
Thanks, I created an issue and shared the details in the ticket
https://salsa.debian.org/reproducible-builds/diffoscope/-/issues/333
>(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 reproducible-builds.org 💠
> ⬊ ⬋
> o
More information about the rb-general
mailing list