Export to GitHub

xar - issue #18

hardlink extraction on fs w/o hardlink support


Posted on Apr 21, 2007 by Happy Dog

When extracting an archive that contains hardlinks onto a filesystem that does not support hardlinks, the file should be duplicated.

The current behavior is to error extracting the hardlink, and it is not created.

Comment #1

Posted on Jun 29, 2012 by Massive Cat

In fact, xar(1) does not extract hardlinked files alone. Suppose we have file yar.

$ ln yar zar $ xar -cf test.xar [yz]ar $ rm [yz]ar $ xar -xf test.xar zar Error while extracting archive:(zar): io: Could not create file (No such file or directory) - ignored

Status: Accepted

Labels:
Type-Defect Priority-Medium