Subject: Re: archiving sparse files
To: Paulo Alexandre Pinto Pires <>
From: Greg A. Woods <>
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

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

								Greg A. Woods

+1 416 218-0098;            <>;           <>
Planix, Inc. <>; VE3TCP; Secrets of the Weird <>