From: Jørn A. <Jor...@nt...> - 2008-10-18 21:18:01
|
I am sorry, my previous answer was incomplete. Ordinarily, pre 3.0 zip and pre 6.0 unzip supports files < 2GB only. Large file support is patched into zip and unzip with recent Linux distros, effectively inreasing available file size to 4GB. Zip 3.0 and unzip 6.0 supports zip64, providing compression and uncompression of files > 4GB. At present, zip 3.0 is released while unzip 6.0 still is in beta (beta 4). I've tried zip 3.0, unzip 2.52 with Fedora9 patches and unzip 6.0d on a Power5+ system running AIX 5.3. Everything works just fine. So, if you need to run unzip on files > 2GB, you either need to patch unzip 2.52 to provide large file support or to compile unzip 6.0d. I downloaded the Fedora9 unzip source RPM, unpacked and applied the patches to the plain source before compiling on AIX. --joern On Fri, 17 Oct 2008, Jørn Amundsen wrote: > Large file support (> 2GB) is provided with zip 3.0 released 7 July > 2008. Notice zip 2.3 (as provided with the AIX RPM) and earlier > suffers from a buffer overrun vulnerability. It is recommended to > upgrade to 2.31. > > --joern > > > On Fri, 17 Oct 2008, Subramani, GnanaShekar wrote: > >> Hi, >> >> Ulimits are fine: >> >> $ ulimit -a >> time(seconds) unlimited >> file(blocks) unlimited >> data(kbytes) 262144 >> stack(kbytes) 32768 >> memory(kbytes) 32768 >> coredump(blocks) unlimited >> nofiles(descriptors) 8192 >> >> The problem is with unzip on aix. >> >> If I ftp the .zip file to a linux box; I am able to list/extract its >> contents using unzip. >> >> >> >> -----Original Message----- >> From: Brandon Boles [mailto:bb...@us...] >> Sent: Friday, October 17, 2008 2:38 PM >> To: Subramani, GnanaShekar >> Cc: aix...@li... >> Subject: Re: [tbox-l] Unzip does not work with .zip files greather than >> 2G. >> >> Check value of 'fsize' in '/etc/security/limits'. In AIX 5.3, it >> defaults to 2097151 (512-byte blocks). A value of '-1' will set it to >> unlimited (you may want to throttle it to something less). >> >> -- >> Brandon Boles >> PowerHA Development Support Specialist >> bb...@us... >> >> On Fri, Oct 17, 2008 at 10:03:56AM -0400, Subramani, GnanaShekar wrote: >>> Hi, >>> >>> I am not able to extract a zip file using unzip program in AIX. >>> Is it because my filesize is more than 2G in size? Please suggest. >>> I am not facing issues with zip files less than 2G. >>> >>> $ oslevel -s >>> 5300-04-02 >>> >>> $ rpm -qa | grep -i unzip >>> unzip-5.51-1 >>> >>> dart:p3elm -> $ du -sg mydata.zip >>> 2.50 mydata.zip >>> >>> $ unzip -l mydata.zip >>> Archive: mydata.zip >>> End-of-central-directory signature not found. Either this file is not a >> >>> zipfile, or it constitutes one disk of a multi-part archive. In the >>> latter case the central directory and zipfile comment will be found on >>> the last disk(s) of this archive. >>> unzip: cannot find zipfile directory in one of mydata.zip or >>> mydata.zip.zip, and cannot find mydata.zip.ZIP, period. >>> >>> Regards, >>> -GnanaShekar- >>> 813-366-2377 (D) >>> 727-487-4103 (M) >>> >> >>> ----------------------------------------------------------------------- >>> -- This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge Build the coolest Linux based applications with Moblin SDK & >>> win great prizes Grand prize is a trip for two to an Open Source event >>> anywhere in the world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> aixtoolbox-list mailing list >>> aix...@li... >>> https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> aixtoolbox-list mailing list >> aix...@li... >> https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > aixtoolbox-list mailing list > aix...@li... > https://lists.sourceforge.net/lists/listinfo/aixtoolbox-list > |