shouldn't tar quit at end of archive?

Rich Felker dalias at aerifal.cx
Fri Mar 31 14:16:13 PST 2006


On Sat, Apr 01, 2006 at 10:03:33AM +1200, Glenn L. McGrath wrote:
> On Fri, 31 Mar 2006 16:12:20 -0500
> Rob Landley <rob at landley.net> wrote:
> 
> 
> > When you go "gunzip thing.gz | tar x" you don't want gunzip() to get an EPIPE 
> > writing to stdout due to the trailing zeroes.  Perhaps if tar expects up to 
> > 1024k of zeroes, it should read up to 1024k of extra zeroes and then stop?
> 
> It can be any multiple of 512, its set by the -b option when the tar
> file is created.

Why do we care if gunzip gets EPIPE?

Rich



More information about the busybox mailing list