bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] dereferencing broken since 1.24?


From: Paul Eggert
Subject: Re: [Bug-tar] dereferencing broken since 1.24?
Date: Thu, 06 Jan 2011 13:39:46 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7

On 01/06/11 10:06, Michael Lawrence wrote:
> The last example I provided has no hard links.

No, actually, it has hard link.  In the typical case (which
is what you had), a regular file has one hard link to it.
Less commonly, regular files can have two or more (or zero!)
hard links.

> Are you saying that tar now behaves the same,
> regardless of whether there is a hard link to foo?

More accurately, I'm saying that tar now behaves the same,
regardless of the number of hard links to foo.

> So dereferencing a symlink will always produce a hard link in the archive?

No, dereferencing a symlink will always produce whatever would have
been produced had the symlink been replaced by whatever it points to.
Typically this will not be a hard link in the archive.



reply via email to

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