bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] sparse file to /dev/null


From: Joerg Schilling
Subject: Re: [Bug-tar] sparse file to /dev/null
Date: Mon, 25 Jul 2005 12:27:38 +0200
User-agent: nail 11.2 8/15/04

Sergey Poznyakoff <address@hidden> wrote:

> Peter Vrabec <address@hidden> 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:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden           (uni)  
       address@hidden   (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]