schwer-q / xar

Automatically exported from code.google.com/p/xar
0 stars 0 forks source link

hardlink extraction on fs w/o hardlink support #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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.

Original issue reported on code.google.com by bbraun on 21 Apr 2007 at 5:54

GoogleCodeExporter commented 9 years ago
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

Original comment by dbo...@gmail.com on 29 Jun 2012 at 4:53