Date: Wed, 25 Feb 2004 11:24:13 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Mike Schroll <LogicX@mail.isc.rit.edu> Cc: freebsd-questions@freebsd.org Subject: Re: gzip GB file limit Message-ID: <20040225172413.GA44342@dan.emsphone.com> In-Reply-To: <403CB39B.5000606@mail.rit.edu> References: <403CB39B.5000606@mail.rit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Feb 25), Mike Schroll said: > I recently backed up my data before blowing away a partition with > tar -cvf - /docs |gzip -> /docs.tgz > -- it went through fine, no errors. > > I've now discovered that the gzip which ships with FreeBSD 5.x base, > 1.2.4 has a 2GB or 4GB file size limit on the file it creates... > the file created by that command was 4.9GB, > now when I extract it I get > gzip: docs.tgz: invalid compressed data--format violated It must have gotten corrupted somewhere else. gzip has been largefile-safe for years. The header will has a 32-bit rollover problem with the filesize (i.e. gzip -l won't show the right size), but you should be able to gzip and gunzip files over 4gb with no other problems. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040225172413.GA44342>