[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Same hashfiles for files that should be different from each other?



Hi,

Evert Kuijpers <hysssop@gmail.com> wrote:
> Because I question myself: How can the contents be the same, when the
> associated files are different?

It's only the file names and only in the ISO filesystem, which is an outer
layer of the Live system's file wealth. Much more files are in the
compressed squash filesystem image which is a large file in the ISO.

mate:
  -rw-r--r-- 1 root root 1872347136 Feb 16 13:16 /live/filesystem.squashfs
lxde:
  -rw-r--r-- 1 root root 1812656128 Feb 16 13:17 /live/filesystem.squashfs

Another file storage is the initrd. It would not be astounding if that one
would turn out to be the same in both ISOs. Bot the initrds differ too:

mate:
  -rw-r--r-- 1 root root 23528076 Feb 16 13:16 /live/initrd.img-4.9.0-8-amd64
lxde:
  -rw-r--r-- 1 root root 23528328 Feb 16 13:17 /live/initrd.img-4.9.0-8-amd64


So for now we have no clear indication that something is wrong.
Probably the system parts outside the squashfs images are similar enough
to yield the same file names, if not the same file content.
(I have to guess, as i am only involved in the final step of xorriso
 packing up the ISO from the prepared files on hard disk.)

Whatever, your observation is surprising enough to deserve a thorough
investigation.

General comparison of the ISOs:

  $ diff -rq /mnt/iso /mnt/iso2 2>&1 | less
yields

  Files /mnt/iso/.disk/info and /mnt/iso2/.disk/info differ
by date and system name.

  Files /mnt/iso/.disk/mkisofs and /mnt/iso2/.disk/mkisofs differ
by the system name in the ISO 9660 Volume Id in the xorriso command.

  Files /mnt/iso/dists/stretch/Release and /mnt/iso2/dists/stretch/Release differ
by date.

  Files /mnt/iso/live/filesystem.squashfs and /mnt/iso2/live/filesystem.squashfs differ
  Files /mnt/iso/live/initrd.img-4.9.0-8-amd64 and /mnt/iso2/live/initrd.img-4.9.0-8-amd64 differ
Both are images containing file trees.


Have a nice day :)

Thomas


Reply to: