Subject: tar & install
To: None <tech-install@netbsd.org>
From: Simon Burge <simonb@telstra.com.au>
List: tech-install
Date: 01/23/1999 13:40:56
Motivated by the recent "discussion" in switching from using GNU-tar
to pax on the installation media, I had a look at the size of these
programs, and compared that with the first version of pdtar I could
find (volume 7 of comp.sources.unix).  Here's the size of the dynamic
binaries under NetBSD 1.3.3 on a pmax:

	text    data    bss     dec     hex     filename
	174966  7592    1784    184342  2d016   tar
	116986  1908    33684   152578  25402   pax
	33685   712     1052    35449   8a79    pdtar

That version of pdtar doesn't have the --one-file-system or -C options
that sysinst uses.  The -C can be removed from sysinst by "( cd rahrah;
tar ...)", and the --one-file-system option can't be too hard to add.

Savings of approx. 80kB of code would certainly help, and there's
probably some stuff that could be left out to make it smaller.  Is there
any interest in adding this in distrib/tools as tar_x ?

Simon.