[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 insidearchive w
From: |
Paul Eggert |
Subject: |
Re: [Bug-tar] TAR creates hard links or duplicated files insidearchive when using -T option |
Date: |
Mon, 05 Nov 2012 14:36:05 -0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 |
On 11/05/2012 02:07 PM, Marek Kielar wrote:
> I would expect a hard link to be included only when the
> same file was listed again but through an additional hard
> link with some other name, and that also included only
> once, if given multiple times on the command line.
I've read that sentence two or three times, and I'm
afraid I still don't know what it means. Which sort
of underscores that we're in a tricky area here.
If I understand you correctly, one objection to your
approach is that it's not trivial to determine whether
a file is "an additional hard link with some other
name". For example, after "mkdir d; touch f; ln f d/f; ln
-s . dot", the file names "dot/f" and "f" name the same hard
link, whereas the file names "d/f" and "f" name different
hard links, but this cannot be determined merely by invoking
lstat on "d/f", "f", and "dot/f".
- 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, Live user, 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 inside archive 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, 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 <=
- 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, 2012/11/07
- Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option, Live user, 2012/11/02