bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] TAR creates hard links or duplicated files inside archive


From: Tim Kientzle
Subject: Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option
Date: Wed, 7 Nov 2012 08:04:17 -0800

On Nov 7, 2012, at 7:42 AM, Live user wrote:

> On 07/11/2012 16:37, Joerg Schilling wrote:
>> 
>> There would at least be a need to find repeated names.
>> 
> 
> If that isn't done already, how is tar creating a hard link instead of adding 
> the file twice?

GNU tar does keep one name for every file.

But that doesn't help if the name that's repeated
isn't the first name.

Other tar implementations economize on memory
by only keeping names for files that are "known"
to have links (have a link count > 1).  Those
implementations won't be able to do this.

Tim




reply via email to

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