[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Partition sizes



On Fri, 2010-08-20 at 17:22 +0200, Miro Kropacek wrote:
> > If there really is a 2GB limit in Mint fs then can it be increased ?
> >
> It's probably quite painful process as this 2GB limit is from using
> signed integers for storing file sizes. So every place where file
> sizes are used / calculated in both mintlib and freemint must be
> changed to something bigger (like 64-bit value) but I'm not really
> sure if it's even possible in all cases since most (all) GEMDOS calls
> return stuff in LONG (32-bit) and bit #31 is used as indicator for
> error => 2 GB limit. If this would be changed, 99% of existing apps
> would stop to work.

Right. It's a non-trivial piece of work. But you essentially keep all
the existing system calls for backwards compatibility and invent new
64bit calls for new applications.

Essentially though. Any application currently written is only capable of
understanding up to 2GB.

Alan.