cpio/pax using libarchive? (was Re: Replace /rescue/vi with
mined(1) from DragonFlyBSD)
Tim Kientzle
kientzle at freebsd.org
Tue Jun 21 02:56:57 GMT 2005
Garrett Wollman wrote:
> <<On Mon, 20 Jun 2005 19:24:43 -0700, Tim Kientzle <kientzle at FreeBSD.ORG> said:
>
>>If anyone would like to tackle this, I have one concrete suggestion:
>>start with passthrough (copy) mode. If I understand it correctly,
>>it can be implemented quite simply by forking:
>
> Nobody implements it that way, because That Would Be Slow
> (particularly in `-l' mode).
Harumph. Yes, you're right about that.
I was thinking that a fork design would allow you to make
use of tar's deep directory support (which uses chdir() a
lot and would make passthrough mode pretty tricky). But
the cpio design makes deep dir support tricky no matter what.
I still stand by one assertion above: start with passthrough mode. ;-)
Tim
More information about the freebsd-current
mailing list