Red Hat Bugzilla – Bug 485167
genisoimage doesn't preserve hardlinks
Last modified: 2014-02-02 17:13:14 EST
With a CLI call of:
/usr/bin/mkisofs -v -U -J -R -T -m repoview -m images/boot.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -V "Fedora 20090211 x86_64 DVD" -o /srv/pungi/raw11.1/20090211/x86_64/iso/Fedora-20090211-x86_64-DVD.iso /srv/pungi/raw11.1/20090211/x86_64/os
genisoimage is not preserving the hardlinks that are in the path. Once written out and mounted, the files that share the same inode in the path do not have a common inode on the iso file.
This is causing Fedora CDs to be too large due to size estimations taking hardlink into account and genisoimage not.
genisoimage is based on a completely outdated version of mkisofs
and genisoimage is unmaintained.
Mkisofs is well maintained and introduced support for correct hardlinks
in Summer 2006.
I recommand you to upgrade to recent original software from:
If you still do not see correct hard links, you would need to upgrade
the linux kernel too. I did this with the Solaris ISO-9660/RR driver in
Turns out I was looking at it wrong. The inodes are different, but apparently they point to the same blocks on the disk, thus the space is saved. I'd suggest the man page gets changed to reflect this.
If you use the official mkisofs instead of genisoimage, the
inode numbers are identical for all hard linked file names.
This is needed if you ever like to copy the files correctly
from the CD/DVD.
Until such time that GPL licensed mkisofs doesn't require the CDDL licensed libscg, Fedora cannot make use of that software.
Do you know what you are talking about?
RedHat currently publishes a mkisofs fork that is
in conflict with GPL and Copyright and thus cannot
be legally distributed.
Do you believe that there would be a problem if Redhat
did publish the legal original instead?
I do believe that you are misinformed.
I am the Copyrightholder and I know that you are missinformed.
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
This message is a reminder that Fedora 11 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 11. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora
'version' of '11'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version prior to Fedora 11's end of life.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we may not be able to fix it before Fedora 11 is end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora please change the 'version' of this
bug to the applicable version. If you are unable to change the version,
please add a comment here and someone will do it for you.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here:
Note that this bug is obviously independent from the the
Fedora release. The only way to fix the problem is to
upgrade to recent _original_ software from
Correct hard link support is in mkisofs since Autumn 2006,
so it it obvious that Redhat is ignoring new versions
since a looooong time....
Fedora 11 changed to end-of-life (EOL) status on 2010-06-25. Fedora 11 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version.
Thank you for reporting this bug and we are sorry it could not be fixed.
As this bug is caused by the fact that RedHat does not ship
recent original software but rather a uses dead fork from a
really old version of cdrtools, RedHat users do not partcipate
on the development of the OSS project.
It is obvious that as long as Redhat does not upgrade to
recent original software, this bug will continue to exist.