【发布时间】:2011-12-14 03:33:10
【问题描述】:
我正在尝试在能够创建、查看、删除和复制文件和目录的文件中创建模型 FAT16 文件系统,但我是新手,对任何有想法的人进行编程?我想要一些东西像下面这样
type
TFileRec = Packed Record
ID: WORD; //id of item
ParID: WORD; //parent id
Name: String[8]; //name of item
Ext: String[3]; //extension if any (type)
Att: BYTE; //attributes (access modifiers, type, etc)
end;
var
FAT16: File of TFileRec;
ItemCount: Integer;
【问题讨论】:
-
我前段时间在“FAT64”系统上搞砸了:code.google.com/p/cpfs/source/browse/#hg%2Fsrc%2Fcpfs,你可能会在那里找到一些有用的东西。此外,FAT32 的 MS 规范包含创建 FAT16 系统所需的一切。