Skip to content

fl0a1e/FAT16

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FAT16 flie system

OS experiment: a simple FAT16 file system


文件系统结构

image image image image


测试样例

  1. 需要建立 image 文件,执行命令dd if=/dev/zero bs=512 count=1M of=fat16.img
  • block size = 512bit
  • 块数 1M
  • 用 0 填充
  1. 格式化 image 文件,FAT16表项 16bit,执行命令mkfs.vfat -F 16 fat16.img
  2. 挂载并执行 image
  3. 另起命令行步进到目标目录执行有关命令测试,同时可查看前一命令行输出的有关log判断执行过程有无错误 image

参考文献

  1. https://blog.csdn.net/feelabclihu/article/details/109396707 fuse
  2. https://liuyehcf.github.io/2017/09/25/%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E5%8E%9F%E7%90%86-%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F2/ file system related
  3. https://blog.csdn.net/yeruby/article/details/41978199?%3E brief introduction of FAT16 file system
  4. https://en.wikipedia.org/wiki/Design_of_the_FAT_file_system wiki

About

OS experiment: a simple FAT16 file system

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published