On Fri, Jul 24, 2009 at 10:11 AM, Tyson Tucker
<address@hidden> wrote:
I haven't figured out what makes the duplicate files/directories
special, but some are duplicated up to three times in the tar file. I've tested it on versions 1.17 and 1.22 on Solaris and 1.22 on Linux.
I should add that it seems to be deterministic, ie if a gets added 3 times on one run, it will be added times every run. Also, the limit isn't 3 duplicates, I've now seen up to 5.
Thanks,
Tyson
To reproduce:
find /usr/local/lib /usr/local/share > test_file
tar -c --files-from=test_file -f /tmp/test.tar
tar -tf /tmp/test.tar | sort | uniq -d
Let me know if you need any more details.
Thank you,
Tyson