資源簡介
內含所有,是本人操作系統綜合實踐時使用的,全,而且真實可靠。。
代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?
#include?
typedef?struct
{
??char?name[13];?????????????//文件名//
??int?startblock;????????????//起始塊//
??unsigned?long?size;????????//文件大小//
??int?status;????????????????//目錄狀態//?
}FCB;
typedef?struct
{
unsigned?long?disksize;??//磁盤大小//
????unsigned?int?blocksize;??//塊長//
????unsigned?int?blocks;?????//總塊數//
unsigned?int?FATblocks;??//FAT塊數1-32//
????unsigned?int?dirblocks;??//目錄區塊數33-34?//
unsigned?int?datablocks;?//文件數據區塊數//
????unsigned?int?idleblocks;?//空閑塊數//
????unsigned?int?files;??????//文件數//
????unsigned?long?freesize;??//可用空間//
????unsigned?int?realfiles;??//有效文件數//
unsigned?int?fcbsnum;????//最大目錄數//
}DISK;
typedef?struct
{
int?fats;???????????????//FAT表//
}FAT;
typedef?struct
{
DISK?disk;
????FCB?*fcbs;
????FAT?*fat;
}DISKINFO;
FILE?*Format(FILE?*fpunsigned?long?disksize)//格式化//
{
char?*data;
DISKINFO?*disk;
unsign
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????20072??2008-12-03?08:20??虛擬文件系統FAT方案\虛擬文件系統FAT方案?.cpp
?????文件?????378613??2008-12-14?20:41??虛擬文件系統FAT方案\虛擬文件系統FAT方案.doc
?????文件??????47772??2008-12-03?08:38??虛擬文件系統FAT方案\虛擬文件系統FAT方案.exe
?????目錄??????????0??2009-04-10?20:06??虛擬文件系統FAT方案
-----------?---------??----------?-----??----
???????????????446457????????????????????4
- 上一篇:單水箱的模糊控制+程序(程序原創)
- 下一篇:LABVIEW下加載百度地圖
評論
共有 條評論