Subject: Re: CVS commit: src/bin/pax
To: David Laight <dsl@NetBSD.org>
From: Alan Barrett <apb@cequrux.com>
List: source-changes
Date: 10/17/2004 22:27:31
On Sun, 17 Oct 2004, David Laight wrote:
> Modified Files:
> 	src/bin/pax: ar_subs.c extern.h options.c tar.1
> 
> Log Message:
> Add an option --chroot to tar.  Causes it to chroot(".") before doing
> an extract.

Will "tar -xf file.tar -C /destdir --chroot" chroot to /destdir ?
Or do we have to do "(cd /destdir ; tar -xf - --chroot) <file.tar"
to get that effect?

--apb (Alan Barrett)