Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2001 17:34:41 -0600
From:      Dan Nelson <dnelson@emsphone.com>
To:        Christopher Farley <chris@northernbrewer.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: 2GB limit on gzip?
Message-ID:  <20010312173441.A25752@dan.emsphone.com>
In-Reply-To: <20010312165812.A82168@northernbrewer.com>; from "Christopher Farley" on Mon Mar 12 16:58:14 GMT 2001
References:  <20010312165812.A82168@northernbrewer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Mar 12), Christopher Farley said:
> When I try to gzip a large (4 GB) file, it creates the gzip file
> without any problem. However, gunzip complains of "CRC errors" during
> the decompression.
> 
> I've heard this is because gzip's internal headers only store a
> 32-bit filesize, and hence has a 2 GB limit.

If you really mean you're getting "invalid compressed data--length
mismatch", you can safely ignore it.  It's been fixed in the latest
gzip source, I believe.  I've been gzipping files over 4gb for quite a
while on my 4.2 boxes with no problems.

-- 
	Dan Nelson
	dnelson@emsphone.com

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




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