FAT related questions
FAT related questions
How do I find the size of the root directory? Should I use the root directory entries data field in the BIOS Parameter Block or should I use something else?
-
- Member
- Posts: 5560
- Joined: Mon Mar 25, 2013 7:01 pm
Re: FAT related questions
Have you checked Microsoft's FAT32 specification?
The root directory is an ordinary directory on FAT32 volumes, so you find its size the same way you find the size of any directory: walk the FAT chain to see how many clusters it uses.
The root directory is an ordinary directory on FAT32 volumes, so you find its size the same way you find the size of any directory: walk the FAT chain to see how many clusters it uses.
Re: FAT related questions
Depends on FAT type. On FAT32, it has it's own cluster link, but for other versions, the size is fixed.