bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] --create --verify fails with >2GB files


From: Andrew Klaassen
Subject: Re: [Bug-tar] --create --verify fails with >2GB files
Date: Tue, 8 May 2007 16:52:28 -0700 (PDT)

More info:

A file filled with zeros doesn't fail on archive
verification.  A file filled with '1' (and some
newlines) does.

Working, with zeros:

# dd if=/dev/zero of=zero.big bs=1k count=5M
# tar cvvWf test7.tar zero.big
5242880+0 records in
5242880+0 records out
5368709120 bytes (5.4 GB) copied, 262.275 seconds,
20.5 MB/s
-rw-r--r-- nobody/nogroup 5368709120 2007-05-08 19:22
zero.big
Verify -rw-r--r-- nobody/nogroup 5368709120 2007-05-08
19:22 zero.big
# 

However:

# [create a 5GB file full of '1' using vi and cat]
# tar cvvWf test8.tar n1.big                         
-rw-r--r-- root/root 5179965440 2007-05-08 19:39
n1.big
Verify -rw-r--r-- root/root 5179965440 2007-05-08
19:39 n1.big
tar: VERIFY FAILURE: 8388608 invalid headers detected
tar: Error exit delayed from previous errors
#

Does this shed any light on the problem?

Andrew



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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