首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

操作系统书上说,FAT32可管理的单个最大磁盘空间为2TB?小弟我算出来不是2TB

2012-05-31 
操作系统书上说,FAT32可管理的单个最大磁盘空间为2TB?我算出来不是2TB。FAT32格式的文件系统一共有2的32次

操作系统书上说,FAT32可管理的单个最大磁盘空间为2TB?我算出来不是2TB。
FAT32格式的文件系统一共有2的32次方=4294967296个簇,每个簇的大小为4KB,
因此可管理的单个最大磁盘空间为4KB*4294967296=2TB


2^32 * 4KB = 16 TB啊?为什么是2TB?

[解决办法]
AT32

In order to overcome the size limit of FAT16, while at the same time allowing DOS real mode code to handle the format, and without reducing available conventional memory unnecessarily, Microsoft expanded the cluster size yet again, calling the new revision FAT32. Cluster values are represented by 32-bit numbers, of which 28 bits are used to hold the cluster number. The boot sector uses a 32-bit field for the sector count, limiting the FAT32 volume size to 2 TB for sector size of 512 bytes and 16 TB for sector size of 4,096 bytes

热点排行