sparse image

Vincent Hoffman vince at
Wed Jun 30 08:44:27 UTC 2010

On 30/06/2010 06:19, Aiza wrote:
> Thanks Vince this was very helpful.
> I was able to create a sparse image jail, but when I used cpio to
> duplicate the sparse file to other jails I lost the sparseness of the
> file. Is there a way to copy a sparse file and keep it intact?
I havent tested but tar has
     -S      (x mode only) Extract files as sparse files.  For every
block on
             disk, check first if it contains only NULL bytes and seek
over it
             otherwise.  This works similiar to the conv=sparse option
of dd.

which might work.

> _______________________________________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list