文件名称:File
介绍说明--下载内容均来自于网络,请自行研究使用
设计一个简单的文件系统,用文件模拟磁盘,用数组模拟缓冲区,要求实现:
支持多级目录结构,支持文件的绝对读路径;
文件的逻辑结构采用流式结构,物理结构采用链接结构中的显示链接结构中的显示链接方式;
采用文件分配表;
实现的命令包括建立目录、列目录、删除空目录、建立文件、删除文件、显示文件内容、打开文件、读文件、写文件(追加方式)、关闭文件、改变文件属性。
最后编写主函数对所做工作进行测试。
-Design a simple file system, disk file simulation with an array of analog buffer, required to achieve:
Support multi-level directory structure, to support the absolute file read path
The logical structure of the document flow structure, physical structure to link the way the display of the link structure of the link structure
Using a file allocation table
Achieve command to create a directory listing of directories, delete empty directories, establish files, delete files, display the contents of the file, open the file, read file, write the file (append mode), close the file, change file attributes.
Finally write the main function to test the work done
支持多级目录结构,支持文件的绝对读路径;
文件的逻辑结构采用流式结构,物理结构采用链接结构中的显示链接结构中的显示链接方式;
采用文件分配表;
实现的命令包括建立目录、列目录、删除空目录、建立文件、删除文件、显示文件内容、打开文件、读文件、写文件(追加方式)、关闭文件、改变文件属性。
最后编写主函数对所做工作进行测试。
-Design a simple file system, disk file simulation with an array of analog buffer, required to achieve:
Support multi-level directory structure, to support the absolute file read path
The logical structure of the document flow structure, physical structure to link the way the display of the link structure of the link structure
Using a file allocation table
Achieve command to create a directory listing of directories, delete empty directories, establish files, delete files, display the contents of the file, open the file, read file, write the file (append mode), close the file, change file attributes.
Finally write the main function to test the work done
(系统自动生成,下载前可以参看下载内容)
下载文件列表
File.doc
File.c
File.c