bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Bug un GNU tar with multiple instances of the same file an


From: Paul Eggert
Subject: Re: [Bug-tar] Bug un GNU tar with multiple instances of the same file and -U
Date: Mon, 23 Mar 2015 10:46:49 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0

Jean-Paul Smeets wrote:

echo Test > test.txt
# Put file in twice
tar -cvf test.tar test.txt test.txt
tar -Uxvf test.tar

I see the file is put in once normally and once as a hardlink.
However extraction fails.

I don't see a problem here. It's *supposed* to fail: you told 'tar' to remove then file and then to link from it.

Presumably this is derived from some larger use case; it'd be nice to know what that use case is.



reply via email to

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