bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] Tar cheats when directed to /dev/null


From: Phillip Susi
Subject: Re: [Bug-tar] Tar cheats when directed to /dev/null
Date: Thu, 25 Mar 2010 11:39:44 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4

On 3/25/2010 11:25 AM, Tim Kientzle wrote:
 There's an easy way to disable this particular optimization:
> 
>    tar cf - dir | cat > /dev/null

I found an even easier and more efficient way.  Use /dev/zero instead of
/dev/null.  Different device number so it fools the check tar does, but
has the same intended effect.  Still, this "optimization" is evil and
should be removed.




reply via email to

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