From owner-freebsd-questions Tue Aug 27 19: 2: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C9DA437B400 for ; Tue, 27 Aug 2002 19:02:01 -0700 (PDT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AB0B43E6A for ; Tue, 27 Aug 2002 19:02:01 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.5/8.12.5) id g7S220ab046309; Tue, 27 Aug 2002 21:02:00 -0500 (CDT) (envelope-from dan) Date: Tue, 27 Aug 2002 21:02:00 -0500 From: Dan Nelson To: Andrew Cc: questions@FreeBSD.ORG Subject: Re: gzip and large files Message-ID: <20020828020200.GG75117@dan.emsphone.com> References: <20020828100648.K98594-100000@starbug.ugh.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020828100648.K98594-100000@starbug.ugh.net.au> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Aug 28), Andrew said: > I have a large log file (approx 1GB gzip compressed) that I want to > search. When I try to decompress it the resulting file is only just > over 300MB. While its possible it was just horribly inefficient > compresison I suspect I'm hitting some bug...perhaps due to the > resulting file being greater than 2GB? > > Does anyone know what is going on and what I can do about it? Maybe your disk is full? :) gzip doesn't have any problems spanning the 2gb mark. The output of "gunzip -l file.gz" will be wrong, but that's it. Try running "gunzip -t", which will test the file without uncompressing it. A 1gb text logfile should expand to between 5 and 10 gb. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message