pombreda / libarchive

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

MacOS: bsdtar doesn't save/restore hard linked directories #229

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Split out from Issue 155:  A general test suite used to verify file backup and 
copy utilities on Mac OS has found that bsdtar 2.6.2 will drop hard linked 
directories

See Issue 155 for more details.

The source code for the particular test is here:
   https://github.com/neoneye/AnalyzeCopy/blob/master/Tests/90_hardlink_dir.rb

The test fails part 'A'.  (The hard linked directory is restored as two 
separate directories.)

This needs to be re-tested with libarchive 3.0 or later, of course, since 2.6.2 
is using the Apple patches to bsdtar for copyfile() support that have since 
been reimplemented and folded down into libarchive proper.

Original issue reported on code.google.com by kientzle@gmail.com on 22 Jan 2012 at 11:10

GoogleCodeExporter commented 9 years ago

Original comment by kientzle@gmail.com on 22 Jan 2012 at 11:23