bug-tar
[Top][All Lists]
Advanced

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

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


From: Peter Vrabec
Subject: [Bug-tar] sparse file to /dev/null
Date: Wed, 20 Jul 2005 18:24:06 +0200
User-agent: Mozilla Thunderbird 1.0.2-6 (X11/20050513)

Hi,

is this a bug or not?

$ echo "hello" | dd of=x bs=1 seek=20G
6+0 records in
6+0 records out

$ 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.




reply via email to

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