[BusyBox] tar and Broken pipe!

Glenn McGrath bug1 at optushome.com.au
Tue Nov 25 09:24:04 UTC 2003


On Fri, 14 Nov 2003 18:42:05 +0300
"Vladimir N. Oleynik" <dzo at simtreas.ru> wrote:

> Steven,
> 
> > I am playing 'round with the shell skript version of iPKG. The script 
> > ipgk contains a line:
> > 
> >       (cd $IPKG_TMP/$pkg/data/; tar cf - . | (cd $owd; cd $dest; tar xf -))
> > used to copy the tree $IPKG_TMP/$pkg/data/ somewhere. But I do get a 
> > "Broken pipe" when using this (busybox v1.00-pre3, today's CVS).
> > 
> > I tried it directly in the ash:
>
> Ok. Its my fault.
> Corrected last_patch116 attached.

vodz, this example was mentioned on irc

When using ash as a shell.

# cat /dev/zero | dd bs=1 count=1
Broken pipe

Apparently ash is causing this problem.



Glenn



More information about the busybox mailing list