Date: Tue, 22 Jul 2003 20:11:42 +1000 From: Peter Jeremy <PeterJeremy@optushome.com.au> To: Mark Murray <mark@grondar.org> Cc: freebsd-arch@freebsd.org Subject: Re: Things to remove from /rescue Message-ID: <20030722101142.GB4105@cirb503493.alcatel.com.au> In-Reply-To: <200307210752.h6L7q3Z2046577@grimreaper.grondar.org> References: <3F16DAFA.41E237F8@mindspring.com> <200307210752.h6L7q3Z2046577@grimreaper.grondar.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 21, 2003 at 08:52:03AM +0100, Mark Murray wrote: >Terry Lambert writes: >> David O'Brien wrote: >> > - tar, pax (w/{bz,g}zip) can do everything GNU tar can. >> >> I agree with everything but this one. Neither of these things can >> make sparse files. > >Incorrect. Both can. Not accurately. They can detect that a file is sparse by comparing the st_size and st_blocks fields returned by stat(). They can't accurately differentiate between a block of NULs and a non-allocated block in a sparse file. AFAIK, the only utility that can exactly reproduce a sparse file is dump/restore. Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030722101142.GB4105>