Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2003 13:53:09 -0700
From:      Pat Lashley <patl@volant.org>
To:        Malcolm Kay <malcolm.kay@internode.on.net>, Dan Strick <strick@covad.net>, freebsd-questions@freebsd.org
Subject:   Re: Copying an entire tree
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--On Friday, August 22, 2003 20:17:07 +0930 Malcolm Kay 
<malcolm.kay@internode.on.net> 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



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