> On Fri, Nov 3, 2023 at 12:31 PM Ralf Quint via Freedos-user > <freedos-user@lists.sourceforge.net> wrote: >> >> In which way is "FreeDOS" limited to 2GB sized files? (Sorry, never >> bothered wit such large files on DOS (any DOS)? The file size entry in >> the FAT32 directory entry is a 4 byte integer. As a filesize can't be >> negative, this should be a UINT_32/unsigned long and thus allow for >> files up to 4GB. FAT files definitively can't be bigger then 4GB (ignoring FAT+) because the 'file size field' has only 32 bits.
I am *mostly* sure that file size was limited to 2GB in MSDOS < 6.2 file could grow to 4GB if you indicated 'I am aware of signed/unsigned problems' at file creation/opening time I am *mostly* sure that FreeDOS just has a 4GB limit. it's not that complicate to test this - and ascertain or deny this. as a side note: disks bigger then 1GB just weren't available at MSDOS times. so this was never a theme. Tom _______________________________________________ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user