Re: NEW TAR

From: Tim Kientzle <kientzle_at_freebsd.org>
Date: Sat, 24 Jul 2004 06:13:46 -0700
Daniel Lang wrote:
> 
> I assume, that for any consumer it is totally transparent if
> possibly existing chunks of 0-bytes are actually blocks full of
> zeroes or just non-allocated blocks, correct?

For most practical users, it is totally transparent, and
in practice, "sparse file storage" in tar files is purely
a compression technique.  However, there are unusual cases
both directions that need to be considered:

If you don't restore a sparse file as a sparse file,
you risk running out of disk space.

If you restore a non-sparse file as a sparse file,
then the file will be slower to write to (because the
OS has to allocate space and because the file storage
will be more fragmented).  Also, there will be applications
that do not handle "disk full" errors when they try
to write to the middle of an existing file.

Tim
Received on Sat Jul 24 2004 - 11:13:55 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC