How many entries there is in FAT32 ?
In the BPB the value of Root Directory Entries is '00 00'
How can i calculate how many entries i have in my disk ?
FAT32 root directory
Re: FAT32 root directory
The same way as with any other (non-root) directory or file.Rocobo wrote:How many entries there is in FAT32 ?
In the BPB the value of Root Directory Entries is '00 00'
How can i calculate how many entries i have in my disk ?
Follow the cluster chain starting at BPB_RootClus (I'm assuming you have fatgen103.doc).
Re: FAT32 root directory
alexfru wrote:The same way as with any other (non-root) directory or file.Rocobo wrote:How many entries there is in FAT32 ?
In the BPB the value of Root Directory Entries is '00 00'
How can i calculate how many entries i have in my disk ?
Follow the cluster chain starting at BPB_RootClus (I'm assuming you have fatgen103.doc).
no....
I just want loop over all entries and print the files name
so i need to know how many entries there is in the disk
-
- Member
- Posts: 5586
- Joined: Mon Mar 25, 2013 7:01 pm
Re: FAT32 root directory
The only way to tell how many entries is to read the entire root directory and count them.
Re: FAT32 root directory
What my friends are saying is that FAT32 does not have a fixed root directory like FAT12 and FAT16 do. The FAT32 root directory is just like a sub-directory, it has Allocation Units and can be of any size up to the disk size (in theory).
Ben
- http://www.fysnet.net/osdesign_book_series.htm
Ben
- http://www.fysnet.net/osdesign_book_series.htm