The root directory of FAT12 and FAT16 volumes is preassigned enough space at the start of a volume to store 256 directory entries, which places an upper limit on the number of files and directories that can be stored in the root directory. (There’s no preassigned space or size limit on FAT32 root directories.) A FAT directory entry is 32 bytes and stores a file’s name, size, starting cluster, and
time stamp (last-accessed, created, and so on) information. If a file has a name that is Unicode or that doesn’t follow the MS-DOS 8.3 naming convention, additional directory entries are allocated to store the long file name. The supplementary entries precede the file’s main entry. Figure 12-4 shows a sample directory entry for a file named “The quick brown fox.” The system has created a THEQUI~1.FOX 8.3 representation of the name (that is, you don’t see a “.” in the directory entry because it is assumed to come after the eighth character) and used two more directory entries to store
翻译windows internals 第12章文件系统(持续更新)
最新推荐文章于 2021-10-26 17:20:50 发布
本文介绍了Windows文件系统的基础知识,特别是FAT12、FAT16和FAT32的区别。FAT12和FAT16的根目录预设了256个目录条目限制,而FAT32则没有此限制。文件系统中每个目录项占用32字节,包含文件名、大小、起始簇和时间戳信息。对于长文件名,会额外分配目录条目存储。FAT32通过32位簇标识符支持最大16TB的卷,但在Windows系统中限制为32GB。此外,FAT32的根目录不限尺寸且有启动扇区备份,提高了稳定性。
摘要由CSDN通过智能技术生成