[源码和文档分享]基于C++实现的操作系统二级文件系统设计

1、题目介绍

名称:一个简单的用户级文件系统——设计和实现

实现下面的API:

  1. void ls(); // 列目录
  2. int fopen(char *name, int mode);
  3. void fclose(int fd);
  4. int fread(int fd, char *buffer, int length);
  5. int fwrite(int fd, char *buffer, int length);
  6. int flseek(int fd, int position);
  7. int fcreat(char *name, int mode);
  8. int fdelete(char *name);

要编写的是2个应用程序:

  • Initialize:初始化c:\myDisk.img

  • testMyFileSystem:接收用户输入的文件操作命令,测试文件系统和API

参考文档和完整的文档和源码下载地址:

https://www.write-bug.com/article/2287.html

猜你喜欢

转载自blog.csdn.net/demongwc/article/details/88974542