bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Add an option to tar, --use-encrypt-program


From: Paul Eggert
Subject: Re: [Bug-tar] Add an option to tar, --use-encrypt-program
Date: Thu, 20 Jan 2011 16:15:08 -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/20/11 14:38, Matt Olson wrote:
> When using compression, it is unknowable in advance at what point in tarring 
> the source data
> "tape-length" will be reached.  In other words, it is not possible to predict
> what the compression ratio will be in advance. 

Fine, but all this suggests is that 'tar' is implementing
--use-compress-program incorrectly.  When combined with
-M, 'tar' should not give the compression program direct
access to the output devices.  Instead, it should cause
the compression program to read from one pipe and write to another,
and 'tar' itself should deal with the output devices,
switching among them as needed.  This may require 'tar'
to fork one more time, but that's fine.

That would allow 'tar' to work in the above scenario, and
it should also work in the encryption scenario.



reply via email to

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