[Top][All Lists]
[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
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, (continued)
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Joerg Schilling, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files in sidearchive when using -T option, Marek Kielar, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files insidearchive when using -T option, Paul Eggert, 2012/11/05
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/06
- Re: [Bug-tar] TAR creates hard links or duplicated files in side archive when using -T option, Marek Kielar, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Paul Eggert, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Joerg Schilling, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Joerg Schilling, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option,
Tim Kientzle <=
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02