Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 09:09:27 -0700 (PDT)
From:      Andrew Webster <andrew@fortress.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/28820: tar and cpio cannot deal with files > 2GB
Message-ID:  <200107081609.f68G9RQ53048@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         28820
>Category:       bin
>Synopsis:       tar and cpio cannot deal with files > 2GB
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 08 09:10:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Webster
>Release:        4.3-RELEASE
>Organization:
PubNIX Inc.
>Environment:
FreeBSD testpc.fortress.org 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sat Apr 21 10:54:49 GMT 2001     jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC  i386 
>Description:
When attempting to tar a larger than 2GB file, tar immediately returns, having created 10240 byte file.
tar tvf file.tar reveals that file size is inidcated as negative!
>How-To-Repeat:
Create >2gb file
tar cvf file.tar 2gbfile.data
tar tvf file.tar
>Fix:
Probably 32bit integers used inside tar & cpio when calculating filesizes.
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107081609.f68G9RQ53048>