From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 13:53:26 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FB4A16A4BF for ; Fri, 22 Aug 2003 13:53:26 -0700 (PDT) Received: from gate.volant.org (gate.volant.org [207.111.218.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 314CE43FBD for ; Fri, 22 Aug 2003 13:53:26 -0700 (PDT) (envelope-from patl@volant.org) Received: from 64-144-229-193.client.dsl.net ([64.144.229.193] helo=[192.168.0.13]) by gate.volant.org with asmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.33 #1) id 19qIuE-0009gw-00; Fri, 22 Aug 2003 13:53:10 -0700 Date: Fri, 22 Aug 2003 13:53:09 -0700 From: Pat Lashley To: Malcolm Kay , Dan Strick , freebsd-questions@freebsd.org Message-ID: <48670000.1061585589@mccaffrey.phoenix.volant.org> In-Reply-To: <200308222017.07099.malcolm.kay@internode.on.net> References: <200308212305.h7LN5wNa000496@ice.nodomain> <200308222017.07099.malcolm.kay@internode.on.net> X-Mailer: Mulberry/3.1.0b4 (Linux/x86) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: Copying an entire tree X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 20:53:26 -0000 --On Friday, August 22, 2003 20:17:07 +0930 Malcolm Kay wrote: > Dump/restore is also the only technique I've found to retain the holes in > holey files. cpio can handle sparse files. I think that was the reason I changed from a tar/tar pipe to a find/cpio pipe as my standard method many years ago. (It's been long enough that I don't remember for certain.) Now, I'll probably use cpdup; since it handles the flags properly. Although, now that you mention it, the docs don't say anything about sparse files; so I may have to be careful which I choose for a given hierarchy... or at least find a test case... -Pat