[ros-dev] Partition size and FAT32 cluster size?
João Jerónimo
j_j_b_o_devel at yahoo.com
Sun Dec 7 17:32:48 UTC 2014
On 07-12-2014 10:07, Thomas Mueller wrote:
> What is the biggest partition size compatible with 4096-byte (4 KB) cluster size, cluster size being the minimum amount of space taken by a file however small?
>
> I googled some years ago and found it to be about 8 GB, however now I wonder if that was wrong, and I can accommodate a bigger partition.
I'm not sure, but..... in FAT32, there are 28 bits to address the
cluster number. (But FAT entries are 32-bit aligned.)
So...
4*1024*(2**28) = 1TB
So the maximum size of the filesystem with 4KB clusters is about 1TB; I
say "about" because there are some reserved cluster numbers...
It is possible that my math is bogus. :-)
> I believe the best file system ReactOS can use so far is FAT32, true also for FreeDOS.
Off-topic: One can write file-system drivers for DOS, using the
REDIRECTOR feature...
JJ
More information about the Ros-dev
mailing list