Re: F34 Change proposal: Compress Kernel Firmware (Self-Contained Change)

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

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux