[BusyBox] tar & untar

Glenn McGrath bug1 at optushome.com.au
Tue Oct 24 15:11:30 UTC 2000


Matt Kraai wrote:
> 
> On Tue, Oct 24, 2000 at 10:07:27AM +1100, Glenn McGrath wrote:
> > I was trying to integrate tar, ar, and gunzip wo save some space and
> > allow recursive unpackaging, but i didnt get gzip working, anyway.
> >
> > I was thinking i could spinoff an untar, which i think could save upto
> > 5KB (educated guess), most of the code is working but defined out in
> > ar.c, it would have to be fixed out to handle directories, symlinks and
> > long filenames.
> >
> > untar and tar could be handled like gunzip and gzip as far as defining
> > features goes.
> >
> > Is saving a few KB worth fragmenting tar ?
> 
> I don't think its a good idea to create a separate untar.  Everybody
> uses tar for both creating and extracting archives (just like everyone
> uses tail -<num>, hmm).  Why not use BB_FEATURE_TAR_CREATE like it does
> now?
> 
> Matt

Yea, fair enough, i probably should just look to fixing up the current
tar a bit.

Glenn





More information about the busybox mailing list