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: Joerg Schilling
Subject: Re: [Bug-tar] --create --verify fails with >2GB files
Date: Wed, 09 May 2007 12:11:18 +0200
User-agent: nail 11.22 3/20/05

Paul Eggert <address@hidden> wrote:

> Andrew Klaassen <address@hidden> writes:
>
> > I've run into a problem running 'tar cvvWf' if archive
> > members are larger than 2GB.
>
> Does the problem occur if any members are larger than 2GB, or only in some
> cases?
>
> I couldn't reproduce the problem with a simple test case, on Debian stable
> with tar 1.16.1 that I compiled.  Here's what I did.  What happens when
> you try the same thing with your 'tar'?
>
> $ echo foo | dd bs=1 seek=2G of=big
> 4+0 records in
> 4+0 records out
> 4 bytes (4 B) copied, 0.00105214 s, 3.8 kB/s
> $ ls -l big
> -rw-r--r-- 1 eggert eggert 2147483652 May  8 09:42 big
> $ tar cvvWf tar big
> -rw-r--r-- eggert/eggert 2147483652 2007-05-08 09:42 big
> Verify -rw-r--r-- eggert/eggert 2147483652 2007-05-08 09:42 big
> $ rm big tar

The switch to base 256 that we defined around 1998 happens with 8 GB ore more.






reply via email to

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