Your message dated Thu, 14 Aug 2008 16:21:41 -0300 (ART) with message-id <[EMAIL PROTECTED]> has caused the report #42158, regarding pax: hard linked files from cpio archives "restored" with zero size (can cause data loss) to be marked as having been forwarded to the upstream software author(s) [EMAIL PROTECTED]
(NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 42158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=42158 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---I maintain a package of the OpenBSD pax utility for the Debian system. One of my users reported some time back a problem where restoring a cpio archive that contains hard links would result in zero length files. I'm currently working on updating my package to your head of CVS, and the problem still exists. I took a quick look and didn't immediately see what the problem is. I don't have a quick way to test this on an OpenBSD system. If it works for you and fails on Debian, that would be a very interesting thing to know. A simple test case to duplicate this problem if you have cpio available to you is: rm -rf paxtest && mkdir paxtest echo -n x > paxtest/file0 ln paxtest/file0 paxtest/file1 rm -rf z && mkdir z find paxtest | cpio -H newc --create | (cd z && pax -r) ls -la paxtest z/paxtest What we see is that the files in paxtest are of length one byte, while the files in z/paxtest are zero length. The original bug report and discussion can be found in our bug tracking system at http://bugs.debian.org/42158 Thoughts? Bdale
--- End Message ---

