bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] TAR creates hard links or duplicated files inside archive


From: Joerg Schilling
Subject: Re: [Bug-tar] TAR creates hard links or duplicated files inside archive when using -T option
Date: Fri, 2 Nov 2012 17:29:03 +0100
User-agent: nail 11.22 3/20/05

Tim Kientzle <address@hidden> wrote:

> Did you really mean to add the above file twice?
> There are a bunch of other files that also appear twice
> in your file list.
>
> > hrw-rw-r-- dorian/dorian          0 2012-10-23 07:44 
> > shared/0/Android/obb/com.gameloft.android.ANMP.GloftA7HM/imgiab7121.bin 
> > link to 
> > shared/0/Android/obb/com.gameloft.android.ANMP.GloftA7HM/imgiab7121.bin
>
> The duplication above is what's causing this hardlink entry.
> (A hardlink entry is just tar's way of avoiding storing a file
> contents twice.)

But this should not happen when the file has a linkcount == 1

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



reply via email to

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