Sergey Poznyakoff <[EMAIL PROTECTED]> wrote:

> Peter Vrabec <[EMAIL PROTECTED]> wrote:
>
> > $ tar cf x.tar --sparse --totals x
> > Total bytes written: 10240 (10KiB, 75B/s)
> > 
> > but
> > 
> > $ tar cf /dev/null --sparse --totals x
> > tar: x: Cannot seek to 0: Bad file descriptor
> > Total bytes written: 21474846720 (21GiB, 4.1GiB/s)
> > tar: Error exit delayed from previous errors
> > 
> > Because this bahavior cause some problem for Amanda.
...

> The second solution (see att. 2) will produce precise total size at the
> expense of execution time (sparse files will be scanned even when
> archiving to /dev/null).

This is what star implements since 1997....I believe this is the only
way that makes sense.



Jörg

-- 
 EMail:[EMAIL PROTECTED] (home) Jörg Schilling D-13353 Berlin
       [EMAIL PROTECTED]                (uni)  
       [EMAIL PROTECTED]        (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily


_______________________________________________
Bug-tar mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-tar

Reply via email to