[Top][All Lists]

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

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

From: Mads Kiilerich
Subject: Re: [Bug-tar] Tar cheats when directed to /dev/null
Date: Thu, 25 Mar 2010 16:43:31 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3

On 03/25/2010 04:39 PM, Phillip Susi wrote:
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.

Please calm down and see http://lists.gnu.org/archive/html/bug-tar/2010-03/msg00046.html


reply via email to

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