Re: Filesize limitation

Kristian Koehntopp (kris@koehntopp.de)
Tue, 4 Nov 1997 19:38:40 +0100 (CET)


In netuse.lists.linux-kernel you write:
>What's gcc's maximum array dimension? INT_MAX? So I can make a virtual
>file that indexes an array of "file segments" (real files) of size up to
>LONG_MAX (off_t)?

Correct. And you can work around the 640 KB memory limit in
MS-DOS by using a proper compiler and creating an overlay file.

Both are braindead approaches, curing symptoms of a problem, but
not removing the cause. The 640 KB MS-DOS problem is properly
cured by installing Linux. The 2 GB file size limit is properly
cured by removing this limit in the kernel source.

Kristian