On 7/23/2023 1:50 PM, Rugxulo via Freedos-user wrote:
The alleged 4 GB file size doesn't work on some OSes (FreeDOS, Windows
NT?), only on old Win9x. So you're only guaranteed 2 GB individual
file sizes, universally.
Wrong. You can use files of up to 4GB size on any Windows version that supports FAT32. So does any reasonable version of Linux. Yes, some OS might limit you to 2GB, as they are using a signed 32bit integer, but that is far from being "universally".
You'd need DJGPP 2.04 or 2.05 just to (maybe)
handle it. Even then, last I checked, they hardcoded a check for
"version 7 DOS" before enabling FAT32 support (e.g. du or df).
Don't care about any Unix tool and how they handle this, to be honest...

Theoretically, FAT32 could handle up to 2TB in partition size, while
newer Windows (and some other OS) limit it to 32GB.
I believe the Windows limitation was in "creating" FAT32 partitions
larger than 32 GB because MS found that it was otherwise too slow
under real-mode MS-DOS 7. Vista (and newer Windows) won't even boot
from FAT anymore (too slow, security issues).
Newer version of Windows seem to have problems with accessing drives/partitions over 32GB as well. I tried to use a 64GB USB stick formatted in FAT32 to transfer stuff between my PCs and my Macbook (granted, stuck on High Sierra, but in that regard, I don't think that things have changed in newer version of macOS) and it was a no-go on both ends. Ended up reformatting that stick with exFAT, which both sides can access just fine to work around that particular issue... And another example is this fine 4GB USB stick, which I used to move a 2.8GB Linux Mint ISO around. Yes, you have to take my word for it that this drive is FAT32...

 Volume in drive F has no label.
 Volume Serial Number is 9490-B112

 Directory of F:\

06/27/2023  10:43 AM    <DIR>          WiFi
07/05/2023  11:26 AM               484 GetFolderPath.vbs
02/16/2016  09:05 AM               378 o...@atimesheets.vnc
07/20/2023  09:53 AM     3,050,733,568 linuxmint-21.2-mate-64bit.iso
               3 File(s)  3,050,734,430 bytes
               1 Dir(s)     946,855,936 bytes free
  FYI, Windows 11 is
64-bit host only nowadays and supposedly takes up 25 GB of space.

Totally irrelevant for anything discussed here...


Ralf




_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user

Reply via email to