bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] an exactly duplicated file was created by tar


From: Paul Eggert
Subject: Re: [Bug-tar] an exactly duplicated file was created by tar
Date: Fri, 19 Aug 2011 07:13:11 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110617 Thunderbird/3.1.11

On 08/18/2011 10:29 AM, Oliver Kullmann wrote:
> ls -ali 1025185*
> 7551518 -rw-r--r-- 1 csoliver users 164 2011-08-16 21:23 1025185
> 7551518 -rw-r--r-- 1 csoliver users 164 2011-08-16 21:23 1025185

This appears to be a bug in the file system, not in 'tar' itself.
A directory cannot contain two entries with the same name.
GNU Tar (or any other application) has no way to create such
a situation.

My guess is that "tar -xzf ..." issued system calls to create
one file, but the underlying file system or kernel got confused
and created duplicate directory entries.

If the bug is reproducible, you can check my theory by running
"strace -o tr tar -xzf ..." and inspecting the file "tr" to
look for system calls mentioning "1025185".



reply via email to

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