Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jun 2005 19:56:31 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        Garrett Wollman <wollman@csail.mit.edu>
Cc:        freebsd-current@freebsd.org
Subject:   Re: cpio/pax using libarchive? (was Re: Replace /rescue/vi with mined(1) from DragonFlyBSD)
Message-ID:  <42B781DF.3090802@freebsd.org>
In-Reply-To: <17079.32011.712557.948691@khavrinen.csail.mit.edu>
References:  <20050617214658.GA41804@troutmask.apl.washington.edu>	<58826.1119044951@critter.freebsd.dk>	<20050617220222.GA42080@troutmask.apl.washington.edu>	<20050617220653.GA114@saltmine.radix.net>	<20050617221353.GA48584@troutmask.apl.washington.edu>	<20050618061603.GM50157@cirb503493.alcatel.com.au>	<20050619033904.GB3061@dragon.NUXI.org>	<20050619070640.GQ50157@cirb503493.alcatel.com.au>	<42B5C0BC.40904@freebsd.org>	<20050620092543.GA54301@cat.robbins.dropbear.id.au>	<42B77A6B.6090906@freebsd.org> <17079.32011.712557.948691@khavrinen.csail.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Garrett Wollman wrote:
> <<On Mon, 20 Jun 2005 19:24:43 -0700, Tim Kientzle <kientzle@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42B781DF.3090802>