Subject: Re: tar & install
To: None <tech-install@netbsd.org>
From: Greg A. Woods <woods@most.weird.com>
List: tech-install
Date: 01/22/1999 23:11:23
[ On Sat, January 23, 1999 at 13:40:56 (+1100), Simon Burge wrote: ]
> Subject: tar & install
>
> 	text    data    bss     dec     hex     filename
> 	174966  7592    1784    184342  2d016   tar
> 	116986  1908    33684   152578  25402   pax
> 	33685   712     1052    35449   8a79    pdtar

I wonder how big der Mouse's tar is and how it compares feature by
feature....  I suspect it's somewhere in between pax and pdtar.

I also wonder just how easy it would be to #ifdef out the cpio code from
pax (though that may not be a very smart thing to do since having CPIO
handling built in "for free" and still being ~32KB smaller than GNU Tar
is a good thing) -- hmm, that was easy, but not much savings (unless I
missed something big) at only ~8250 bytes smaller on i386.  I can
forward the patches if anyone's interested, but like I say if we stick
with pax for installs then ~9KB is not much to pay for the added feature.

A couple more data points from i386 and sparc:

	[i386-current] $ size /usr/bin/tar /bin/pax pax-nocpio
	text    data    bss     dec     hex     filename
	233440  8192    6712    248344  3ca18   /usr/bin/tar
	225248  4096    38956   268300  4180c   /bin/pax
	217056  4096    38628   259780  3f6c4   pax-nocpio

	[1.3.2-sparc] $ size /usr/bin/tar /bin/pax
	text    data    bss     dec     hex
	278528  8192    22844   309564  4b93c   /usr/bin/tar
	270336  8192    52048   330576  50b50   /bin/pax

-- 
							Greg A. Woods

+1 416 218-0098      VE3TCP      <gwoods@acm.org>      <robohack!woods>
Planix, Inc. <woods@planix.com>; Secrets of the Weird <woods@weird.com>