Subject: Re: tar's --exclude option is missing
To: Ray Phillips <r.phillips@jkmrc.com>
From: Gary Duzan <gary@duzan.org>
List: current-users
Date: 07/30/2004 05:43:16
In Message <p05200f0cbd2fa896c0eb@[130.102.20.138]> ,
   Ray Phillips <r.phillips@jkmrc.com> wrote:

=>I've noticed tar in -current (at least in 2.0[E-G]) doesn't have the 
=>--exclude option which was present in 1.6's.  That's a pity from my 
=>point of view since I found it quite handy.  Is there any chance it 
=>might come back?
=>
=>Strangely, it doesn't accept --version either.

   That's because NetBSD has moved from GNU tar to pax-as-tar:

===========================================================================
capo { ~ } % ssh wheel uname -v
NetBSD 1.6.2_RC2 (WHEEL) #0: Tue Nov 25 05:16:05 EST 2003     root@wheel:/usr2/src/sys/arch/i386/compile/WHEEL
capo { ~ } % ssh wheel tar --version
GNU tar version 1.11.2
capo { ~ } % uname -v
NetBSD 2.0G (CAPO) #9: Fri Jul 16 11:18:54 EDT 2004  gary@capo:/usr2/src/sys/arch/i386/compile/obj.i386/CAPO
capo { ~ } % ls -li `which tar` `which pax`
9965 -r-xr-xr-x  3 root  wheel  124999 Jul 16 10:30 /bin/pax*
9965 -r-xr-xr-x  3 root  wheel  124999 Jul 16 10:30 /bin/tar*
===========================================================================

   If you need full GNU tar compatability, there is pkgsrc/archivers/gtar, 

					Gary Duzan