From owner-freebsd-questions Mon Mar 12 15:34:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id E2DEB37B723 for ; Mon, 12 Mar 2001 15:34:50 -0800 (PST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.11.1/8.11.1) id f2CNYfn03234; Mon, 12 Mar 2001 17:34:41 -0600 (CST) (envelope-from dan) Date: Mon, 12 Mar 2001 17:34:41 -0600 From: Dan Nelson To: Christopher Farley Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2GB limit on gzip? Message-ID: <20010312173441.A25752@dan.emsphone.com> References: <20010312165812.A82168@northernbrewer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.14i In-Reply-To: <20010312165812.A82168@northernbrewer.com>; from "Christopher Farley" on Mon Mar 12 16:58:14 GMT 2001 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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