From owner-freebsd-questions Mon Mar 12 22:42:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.nbrewer.com (sparge.nbrewer.com [208.42.68.70]) by hub.freebsd.org (Postfix) with ESMTP id B621537B718 for ; Mon, 12 Mar 2001 22:42:03 -0800 (PST) (envelope-from chris@nbrewer.com) Received: by mail.nbrewer.com (Postfix, from userid 1001) id 87B5F383071; Tue, 13 Mar 2001 00:42:02 -0600 (CST) Date: Tue, 13 Mar 2001 00:42:02 -0600 From: Christopher Farley To: Dan Nelson Cc: freebsd-questions@FreeBSD.ORG Subject: Re: 2GB limit on gzip? Message-ID: <20010313004200.A83508@northernbrewer.com> Mail-Followup-To: Christopher Farley , Dan Nelson , freebsd-questions@FreeBSD.ORG References: <20010312165812.A82168@northernbrewer.com> <20010312173441.A25752@dan.emsphone.com> <20010312195330.A82645@northernbrewer.com> <20010312213743.A7606@dan.emsphone.com> <20010312223210.A83134@northernbrewer.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010312223210.A83134@northernbrewer.com>; from chris@northernbrewer.com on Mon, Mar 12, 2001 at 10:32:12PM -0600 Organization: Northern Brewer, St. Paul, MN Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On my FreeBSD 4.3-BETA (Wed Mar 7) machine, I can reproduce this problem repeatedly. I can not reproduce this problem on my my FreeBSD 4.2-STABLE (Fri Feb 23) machine. ######################################################################### /tmp> dd if=/dev/urandom bs=1000000 count=2000 | gzip > /tmp/largefile.gz /tmp> cat largefile.gz | gunzip > test unzip: stdin: invalid compressed data--crc error /tmp> cat largefile.gz | gunzip | diff test - Binary files test and - differ /tmp> ls -laF -rw-r--r-- 1 chris wheel 2000323844 Mar 12 23:33 largefile.gz -rw-r--r-- 1 chris wheel 2000000000 Mar 12 23:40 test ######################################################################### The problematic machine can gunzip smaller files without any problem, and I have not as yet determined how big a file needs to be before there is a problem. As stated before, this is a problem with both gzip/gunzip and bzip2/bunzip2. Any ideas? I'm going to re-build the system tonight from source. -- Christopher Farley www.northernbrewer.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message