Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/bin/pax



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)



Home | Main Index | Thread Index | Old Index