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;
Dell PowerEdge R720 Server - 2x8c CPU,256Gb RAM, 128Gb SSD/3x900Gb SAS, Proxmox
$340.00
Supermicro 4U 36 Bay Storage Server 2.4Ghz 8-C 128GB 1x1280W Rails TrueNAS ZFS
$712.98
DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED
$269.99
HP ProLiant DL360 G9 Server 2x E5-2660v3 2.60Ghz 20-Core 96GB P440ar
$304.35
Dell PowerEdge R620 Server 2x E5-2660 v1 2.2GHz 16 Cores 256GB RAM 2x 300GB HDD
$89.99
Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD
$389.99
SuperMicro Server 505-2 Intel Atom 2.4GHz 8GB RAM SYS-5018A-FTN4 1U Rackmount
$202.49
HYVE ZEUS V1 1U BAREBONE SERVER 2X10CORE E5-2680V2 2.8GHz 16GB RAM RISER NO RAIL
$180.00
DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45
$284.00
PowerEdge R710 Rackmount Server 80GB RAM 2x XEON E5520 CPU 4.75TB
$200.00