I understand that the limit is 4GB, so how does this work? I have a file on an FAT32 formatted drive that exceeds 4GB by around 0.2GB, and yet the file works fine and is stored correctly. How does that work? Does it have to do with the file format? I've seen this before, but have never really understood it.

enter image description here

有帮助吗?

解决方案

4 GB is 4,294,967,296 (232) bytes. The algorithm used to calculate the size 4.29 GB assumes that a gigabyte is 1,000,000,000 bytes, where it actually is 1,073,741,824 (2^30) bytes.

This is a common practice used by hard drive manufacturers.

其他提示

From Wikipedia: The maximum possible size for a file on a FAT32 volume is 4 GiB minus 1 byte or 4,294,967,295 (232−1) bytes.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top