OSDev.org
https://forum.osdev.org/

FAT related questions
https://forum.osdev.org/viewtopic.php?f=1&t=56805
Page 1 of 1

Author:  Matt1223 [ Fri Mar 31, 2023 3:38 pm ]
Post subject:  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?

Author:  Octocontrabass [ Fri Mar 31, 2023 4:20 pm ]
Post subject:  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.

Author:  rdos [ Sun Apr 02, 2023 3:47 am ]
Post subject:  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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/