[BusyBox] tar & untar

Matt Kraai kraai at alumni.carnegiemellon.edu
Tue Oct 24 14:30:39 UTC 2000


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





More information about the busybox mailing list