bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Solution to updating compressed archives: Pre-compress fil


From: Joerg Schilling
Subject: Re: [Bug-tar] Solution to updating compressed archives: Pre-compress files
Date: Sun, 30 Oct 2011 22:19:58 +0100
User-agent: nail 11.22 3/20/05

Carl Eklof <address@hidden> wrote:


> Solution:
> The solution requires two parts of the code to be modified:
>  1) Compress each file before adding it to the archive.

The UNIX philosophy is not to do archiving that may fail later because you 
cannot 
predict what happens.

if you compress single files before archiving, you either need to read the file 
twice and you need to hope that the file will not change while doing this, or 
you will nees an unpredictable amount of temp space.

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]