Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2003 22:08:46 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        jon <juostaus@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: mkisofs file too large?
Message-ID:  <20031008030846.GB87235@dan.emsphone.com>
In-Reply-To: <20031008022912.84147.qmail@web40307.mail.yahoo.com>
References:  <20031008022912.84147.qmail@web40307.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031008030846.GB87235>