[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] Bug with files which have hardlinks
From: |
Joerg Schilling |
Subject: |
Re: [Bug-tar] Bug with files which have hardlinks |
Date: |
Fri, 08 Oct 2010 10:50:14 +0200 |
User-agent: |
nail 11.22 3/20/05 |
Paul Eggert <address@hidden> 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:address@hidden (home) Jörg Schilling D-13353 Berlin
address@hidden (uni)
address@hidden (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily