Does diffoscope compares disk partitions

Mattia Rizzolo mattia at mapreri.org
Wed Mar 1 20:58:13 UTC 2023


Hello Thomas,

On Wed, Mar 01, 2023 at 09:44:56PM +0100, Thomas Schmitt wrote:
> There are various layouts. Some are quite awkward and invite for getting
> lost in the woods. (Actually they lure firmwares out of the woods.)

Duh.
I already knew that hybrid ISO 9660 are pretty much devil's offspring,
and I guess I could have done without your introduction to them /o\

> All these images contain block ranges which are neither covered by the
> ISO 9660 file tree nor by the partitions.
> One will always first have to compare such ISOs byte-by-byte and only in
> case of mismatch look into the ISO filesystem and partitions for a more
> qualified presentation of the differences.

FWIW, currently diffoscope _does_ have a iso9660 comparator, but that
just runs libarchive on it, so I _believe_ it ignores the existence of
an eventual partition table and just goes straight to the really
compliant "data part" of the image.

I know that thing has been used to work on reproducible bootable image,
so I guess it just always happened that the "hybrid part" of them were
already reproducible :3
Else I reckon somebody would have provided some improvements in this
area already.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.reproducible-builds.org/pipermail/rb-general/attachments/20230301/a4d7af97/attachment.sig>


More information about the rb-general mailing list