[SUMMARY] mkisofs for files > 2GB (64 bit binary?)

From: David Foster <foster_at_ncmir.ucsd.edu>
Date: Thu Nov 04 2004 - 15:35:03 EST
Summary: 'mkisofs' from Jorg Schilling's site does not appear
         to be able to handle files > 2GB, even when compiled
         64-bit and made large-file aware. The 'mkisofs' shipped
         with Solaris 9 does not handle files > 2GB either.

(The issue here is being able to include a >2GB input file WITHIN
an image file using 'mkisofs'...this utility will happily create
an output image file > 2GB)


Tried re-compiling as a large-file aware 32-bit app with 
-D_FILE_OFFSET_BITS=64 in compiler flags but this didn't help.
Also need -D_LARGEFILE_SOURCE, still didn't help.

It was suggested to make sure I have large files enabled on
my filesystem, this wasn't the problem.

Someone pointed me to Jorg Schilling's 'cdrecord/cdrtools' utility
which includes 'mkisofs', this should handle files > 2GB. But this
is what I am using, and it doesn't.

I finally managed to recompile the 'cdrtools' package 64-bit using
the Sun Forte compiler, lets just say it was very non-trivial!
Unfortunately this does NOT allow you to put files > 2GB into an
image file using 'mkisofs', you get:

/usr/bin/mkisofs.64bit: Value too large for defined data type. File
 ./owl_2-join.rec.gz is too large - ignoring

So it appears this is a limitation of the 'mkisofs' program, by design.
Very unfortunate.

Dave Foster


Thanks to:

Rich Teer
egold
Heilke, Rainer

Original question:
===================

Platform: Sun Ultra80 Solaris 8/9
Problem: mkisofs can't handle input files > 2GB


I've run into a problem where mkisofs cannot process input files
> 2GB when creating an image file:

/usr/bin/mkisofs: Value too large for defined data type. File 
./owl_2-join.rec.gz is too large - ignoring

I've done quite a bit of searching in this list's archives and
Google, and haven't found a solution. My attempts to compile
mkisofs 64-bit have failed miserably.

Has anyone found a solution to this, or managed to compile
mkisofs 64-bit? If so, would you mind sharing your binary??

Dave Foster
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Nov 4 15:35:41 2004

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:39 EST