#define BlockSize 512 #define DirSize 32 #define RootSize 2 struct ReserveBlock{ int sysblocknum;/*文件系统总扇区数*/ int resblocknum;/*保留扇区扇区数*/ int fatblocknum;/*FAT表扇区数*/ int rootblocknum;/*根目录区扇区数*/ char fillchar[BlockSize-4*sizeof(int)];/*填充字节*/ }; struct DirBlock{ char filename[