On Fri, 29 Nov 2002, Ralf Quint wrote:

> Natasha Portillo wrote:
> > Sorry, I made a mistake:
> > Nevertheless the operating system, the FAT file system is limited to a
> > 2^32 bytes (minus one) file size.
> >
> > This applies on Linux, MacOS (Classic and X), Windows 9x, Windows NT,
> > DOS, etc.
> >
> Sorry,  but this generalized answer is definitely wrong.
> At least for Windows 2000 and Windows XP, the maximum filesize on a
> FAT32 volume is 4GB, and on NTFS it would be limited only by the
> available space on the NTFS volume

I thought that 2^32 bytes==4GB (more exactly, GiB). In any case under
FAT32 DOSes you have to open using int21/ah=6c with bit 4 of BH set,
otherwise the limit is 2GB and lseek (int21/ah=42) might complain.
FreeDOS might have problems with files > 2GB; it still ignores this bit4.
Also many DOS programs assume that the program size is a "signed long
int" (C) or "longint" (TP) so the 2GB--4GB region is a bit risky. I've
just never tested it so I don't know.

Bart

----------
list options/archives/etc.: http://www.topica.com/lists/fd-dev
unsubscribe: send blank email to: [EMAIL PROTECTED]

==^================================================================
This email was sent to: [email protected]

EASY UNSUBSCRIBE click here: http://topica.com/u/?bz8Rv5.bbRv4l.YXJjaGl2
Or send an email to: [EMAIL PROTECTED]

T O P I C A -- Register now to manage your mail!
http://www.topica.com/partner/tag02/register
==^================================================================

Reply via email to