Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 May 2004 10:45:29 +0100
From:      Jim Hatfield <subscriber@insignia.com>
To:        freebsd-questions@freebsd.org
Subject:   Max size of file on ISO filesystem?
Message-ID:  <8i1k90lgsqfbp6f3bm0dcuk973be7a1oho@4ax.com>

next in thread | raw e-mail | index | archive | help
I used to think that ISO filesystems were limited to a maximum
size of 2 Gb for each file, but now I'm not sure sure.

mkisofs from sysutils/mkisofs will not accept files over 2 Gb
but the one in syutils/mkisofs-devel will without a problem.

So if you install mkisofs-devel you can then use growisofs
to make a DVD with a file over 2 Gb on it.

The fun starts when you try to read the DVD! On a 4.9 machine,
doing a "ls -l" shows the file size as negative, presumably
just the result of using a signed 32-bit quantity to hold the
size in bytes.

However a 5.1 machine generates an error, something like
"value too large for data type". I presume this is coming
from the iso9660 filesystem layer.

So there seems to be a discrepancy between what the latest
mkisofs and the latest iso9660 filesystem code regards as
acceptable. Which is right?




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