mkisofs file too large?

Dan Nelson dnelson at allantgroup.com
Tue Oct 7 20:08:48 PDT 2003


In the last episode (Oct 07), jon said:
> # ls -lh
> -rw-r-----  1 root  wheel        2.6G Oct  7 22:11:00 2003 mkisofstest.tar
> 
> # mkisofs -o mkisofstest.tgz.iso mkisofstest.tgz
> mkisofs: Value too large to be stored in data type.
> File mkisofstest.tar is too large - ignoring
> Total translation table size: 0
> Total rockridge attributes bytes: 0
> Total directory bytes: 0
> Path table size(bytes): 10
> Max brk space used ab24
> 48 extents written (0 Mb)

It may be that the cd9660 filesystem cannot correctly represent files
over 2gb, so mkisofs skips files larger than that.  Mkisofs explicitly
rejects files over 2^31 bytes:

tree.c:1520
    if (S_ISREG(lstatbuf.st_mode) && (lstatbuf.st_size >= (off_t)0x7FFFFFFF)) { 
        errno = EFBIG;
        errmsg("File %s is too large - ignoring\n", whole_path); 


-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list