fat_BS->DirectoryEntries (FAT page)
Posted: Thu Aug 28, 2014 6:38 pm
In the Programming Guide section of the FAT file system page of the Wiki, the formula shown to find the first data sector of an entry needs the value of fat_BS->DirectoryEntries, but the fat_BS struct, as shown earlier in the section, has no DirectoryEntries member (nor directory_entries, which would follow the coding style used). Also, the formula requires fat_BS->BytesPerSector, but the actual member found in the struct is bytes_per_sector.
What exactly does fat_BS->DirectoryEntries mean? Do I need to count the total number of directory entries in the entire disk?
What exactly does fat_BS->DirectoryEntries mean? Do I need to count the total number of directory entries in the entire disk?