libarchive shows differences for hard- and softlinks in ISO files
When comparing 2 ISO files, in which the second ISO has a file deleted, diffoscope
- correctly shows that the i-node-equivalent values have changed (in the 'isoinfo' sections)
- but in the 'file list' output (which is generated by libarchive) the hard links are swapped, which looks like a missing file on both sides of the diff
- in 'file list' output the order of the softlinks looks random
I've found this on the 3GB Debian live GNOME image, but a minimal example is attached here, along with the HTML-output.
Expected behaviour:
- The output from 'isoinfo' is OK
- The output in 'file list' should the deletion of file b
- The output in 'file list' should not show any difference in the hard- and softlinks (given that it does not show the i-node-equivalent values)
Script to reproduce the case: iso.sh
Its output: iso.html
Edited by Roland Clobus