Subject: Re: archiving sparse files
To: Paulo Alexandre Pinto Pires <p@ppires.org>
From: Greg A. Woods <woods@weird.com>
List: current-users
Date: 12/09/2002 16:34:44
[ On Monday, December 9, 2002 at 09:42:58 (-0200), Paulo Alexandre Pinto Pires wrote: ]
> Subject: archiving sparse files
>
> Apparently, current NetBSD tar no longer accepts the option
> "--sparse", to handle sparse files efficiently.

That's because, IIRC, it already does so by default, at least to the
best possible level.  See the comment preceding file_write() in
file_subs.c.  (since this only works on write it essentially mandates
that you compress your archives in order to achieve the best possible
efficiency).

If you really want to handle sparse files as efficiently as possible
while maintaining both archive and command-line portability to the
greatest degree possible then your best choice is to use
pkgsrc/archivers/star.

-- 
								Greg A. Woods

+1 416 218-0098;            <g.a.woods@ieee.org>;           <woods@robohack.ca>
Planix, Inc. <woods@planix.com>; VE3TCP; Secrets of the Weird <woods@weird.com>