This is a patch against the compressloop implementation at http://projects.openoffice.nl/downloads/compressloop/
(I use this because it doesn't need huge amounts of RAM, since you can specify the image size in advance.)
For some reason, atoi() and atol() don't like numbers greater than 2^31. (Most likely because they assume signed results???)
As a result, compressloop is limited to a maximum input image size of 2^31 (2 gigs) instead of the 2^32 (4 gigs) limit of a long.
I'm sure the best way to fix this would be to replace atoi(), but it's 1:34 AM and I want to compress UT2k3 now, so my patch to the utilities is as follows:
This allows you to set the input image size in 2048-byte sectors. This gets around the atoi() limitation, and also makes compressloop easier to use in scripts with mkisofs -q -print-sizeCode:diff cloop/compressloop.c cloop-sectorpatch/compressloop.c 74a75 > fprintf(stderr, "\t-s sectors\t\tset number of 2048-byte sectors instead of image size in bytes\n"); 105a107 > unsigned long imagesec; 111c113 < while ((optionchar=getopt(argc,argv,"b:i:I:c:Fv"))!=-1) { --- > while ((optionchar=getopt(argc,argv,"b:s:i:I:c:Fv"))!=-1) { 119a122,125 > break; > case 's': > imagesec=atoi(optarg); > imagesize=imagesec*2048;
Cisco SG110 24 Port Gigabit Ethernet Switch w/ 2 x SFP SG110-24
$117.00
1783-SFP1GTE AB 1G copper SFP #ZYPL
$879.87
Cisco SF350-08 8-Port Managed 10/100 Switch SF350-08-K9-NA
$164.00
Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module 10-2415-03
$8.00
NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*
$18.00
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$13.89
Genuine Cisco SFP-10G-SR Transceiver Module (10-2415-03)
$5.65
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$89.00
10 PCS Cisco GLC-LH-SMD 10-2625-01 1310nm SFP Transceiver Module
$85.00