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