Re: cpio/pax using libarchive? (was Re: Replace /rescue/vi with mined(1) from DragonFlyBSD)

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Mon, 20 Jun 2005 19:56:31 -0700
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
Received on Tue Jun 21 2005 - 00:56:57 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:37 UTC