Paul Eggert <[email protected]> wrote:

> On 10/07/2010 04:51 PM, Thomas Graf wrote:
> > touch afile
> > link afile hlink
> > gtar -cvvf x.tar afile afile afile
> > -rw-r--r-- tom/users         0 2010-10-08 01:49 afile
> > hrw-r--r-- tom/users         0 2010-10-08 01:49 afile link to afile
> > hrw-r--r-- tom/users         0 2010-10-08 01:49 afile link to afile
>
> I don't see a bug there.  You asked "tar" to archive the same file
> three times, and it did.
>
> Solaris 10 /bin/tar behaves the same way.

Any correct tar implementation (including star) behaves this way.

Star was the first that did not allow such archives to be used to remove 
existing files.

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]                (uni)  
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to