Unfortunately I have looked high and low, there is just no good way to read sparse files intelligently.  Whoever though of providing the functionality without an API to step through the block mapping was a moron.  It is truly a brain dead technology.  At least there is a fcntl under Win32 to deal with it with some intelligence.

Cheers,
Eric



On 4/26/06, Bill Moran <[EMAIL PROTECTED]> wrote:
"Scott Ruckh" <[EMAIL PROTECTED] > wrote:

> This is what you said Eric Warnke
> >
> > Oops tar -Scf lowercase s is somthing else.
> >
> > Cheers,
> > Eric
>
> Good idea.
>
> I tried:
> tar -Sc -f /var/log/lastlog.tar /var/log/lastlog
>
> But it appears to do much the same as bacula.  It too must read through
> the entire file, so it does not speed things up.

The only program I'm aware of that will back up sparse files efficiently
is dump.  But dump isn't cross-platform - not even a little.

--
Bill Moran
Potential Technologies
http://www.potentialtech.com

Reply via email to