Hi,

Chris Adams wrote:
> Although: now that I look at the ISO structure with isoinfo, it does
> appear that the files are not actually duplicated

ECMA-119 (ISO 9660 for free) allows the equivalent to hardlinking by

  6.5.1 Relation to File Sections
  ...
  A File Section may be part of more than one file and may occur more
  than once in the same file. A File Section may be identified by more
  than one record in the same or a different directory.

As you found out, genisoimage makes use of this prescription by putting
together hardlink siblings from the input filesystem.
libisofs underneath xorriso does the same.

-----------------------------------------------------------------------

Rock Ridge 1.12 as add-on to ISO9660 records the equivalent to inode
numbers as "File Serial Number" in PX entries.

But the Fedora ISOs i have (from genisoimage and xorriso) are equipped
with PX entries of version 1.10 which do not bear this field.
Whatever, the Linux kernel ignores the recorded numbers of version 1.12
and rather computes the inode numbers from the byte address of the
directory record divided by 32.
So two different file paths get two different artificial inode numbers.
(See isofs_get_ino() in fs/isofs/isofs.h.)

The consequence is that the hard-link-like relations do not show up in
mounted ISOs and that ISOs made from mounted ISOs don't bear this relation
either.


Have a nice day :)

Thomas
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org

Reply via email to