| has a first cluster number of 0 placed in its directory entry. This cluster location in the FAT (see earlier computation of ThisFATSecNum and ThisFATEntOffset) contains either an EOC mark (End Of Clusterchain) or the cluster number of the next cluster of the file IsEOF = FALSE; If(FATType == FAT12) { If(FATContent >= 0x0FF8) IsEOF = TRUE; } else if(FATType == FAT16) { If(FATContent >= 0xFFF8) IsEOF = TRUE; } else if (FATType == FAT32) { If(FATContent >= 0x0FFFFFF8) IsEOF = TRUE; } |
FAT file system-EOC mark
最新推荐文章于 2024-09-20 18:48:39 发布
本文详细介绍了如何通过检查FAT12、FAT16和FAT32文件系统的FAT表中的特定值来判断文件是否到达了簇链的末尾。通过不同的条件判断语句,可以准确地识别出文件的结束标志。
5724

被折叠的 条评论
为什么被折叠?



