bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Tar converts similar files to links?


From: Martin Kajdas
Subject: [Bug-tar] Tar converts similar files to links?
Date: Fri, 2 Dec 2005 08:40:11 -0800

Hello,

I tried this with tar 1.13.25 and 1.14
I am tarring a directory tree and in some of the directories, there are pairs 
of files that:
- have the same size, time and date
- may have the same checksum but I did not check that
- have different names
- are different (I checked by looking at them with a hex editor)

They are different files but tar only saves one of them and the second one is 
saved a some kind of a link/directory with the correct name of the second file.

Is it possible that tar gets confused and believes that the files are the same 
and tries to create a link for one of the files?
Is there an option to turn off such behavior?

I could not fix this by using any of the tar formats, preserve options, etc.

Any ideas of what it is caused by?

Seems that this is very serious misbehavior and I did not find anything about 
it anywhere (hard to search for).

Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]