From owner-freebsd-current@FreeBSD.ORG Tue Jun 21 02:56:57 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5EC716A41C for ; Tue, 21 Jun 2005 02:56:57 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from kientzle.com (h-66-166-149-50.snvacaid.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAB4243D1D for ; Tue, 21 Jun 2005 02:56:56 +0000 (GMT) (envelope-from kientzle@freebsd.org) Received: from freebsd.org (p54.kientzle.com [66.166.149.54]) by kientzle.com (8.12.9/8.12.9) with ESMTP id j5L2usOZ034976; Mon, 20 Jun 2005 19:56:54 -0700 (PDT) (envelope-from kientzle@freebsd.org) Message-ID: <42B781DF.3090802@freebsd.org> Date: Mon, 20 Jun 2005 19:56:31 -0700 From: Tim Kientzle User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.4) Gecko/20031006 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Garrett Wollman 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> In-Reply-To: <17079.32011.712557.948691@khavrinen.csail.mit.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: cpio/pax using libarchive? (was Re: Replace /rescue/vi with mined(1) from DragonFlyBSD) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2005 02:56:57 -0000 Garrett Wollman wrote: > < 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