#665423 /usr/bin/7z: unziping isos does not preserve hard links

Package:
p7zip-full
Source:
p7zip
Description:
7z and 7za file archivers with high compression ratio
Submitter:
Jayen Ashar
Date:
2025-03-14 14:51:04 UTC
Severity:
wishlist
Tags:
#665423#5
Date:
2012-03-24 01:15:08 UTC
From:
To:
Dear Maintainer,

Please add functionality to 7z to preserve hard links when extracting
isos.  Thanks, Jayen.

   * What led up to the situation?
Unzipped fedora isos.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Effective: loopback mounting the iso and copying the files with rsync -H
Ineffective: 7z x boot.iso

   * What was the outcome of this action?
Files were extracted twice.

   * What outcome did you expect instead?
Hard links.

#665423#12
Date:
2018-07-25 05:48:31 UTC
From:
To:
I have discovered same issue with symlinks in ISO's on Debian Stretch.

firmware-9.5.0-amd64-netinst.iso iso image is extracted without firmware
package symlinks (/firmware directory is empty). Had to migrate to bsdtar..