diff --git a/docs/arceos-modules/fs/api.md b/docs/arceos-modules/fs/api.md index 76293d5..13ea7a9 100644 --- a/docs/arceos-modules/fs/api.md +++ b/docs/arceos-modules/fs/api.md @@ -1 +1,3 @@ -# ArceOS 文件系统接口 \ No newline at end of file +# ArceOS 文件系统接口 + +见 https://arceos.org/arceos/axfs/index.html \ No newline at end of file diff --git a/docs/arceos-modules/fs/vfs.md b/docs/arceos-modules/fs/vfs.md index 7c75e58..0ea03f2 100644 --- a/docs/arceos-modules/fs/vfs.md +++ b/docs/arceos-modules/fs/vfs.md @@ -2,4 +2,26 @@ ## 文件系统兼容层 -## 接入不同文件系统 \ No newline at end of file +`axfs_vfs` 是 `ArceOS` 使用的虚拟文件操作系统接口。 + +上层的文件系统需要实现 `trait VfsOps`,其文件和目录需要实现 `trait VfsNodeOps`。 + +详见 https://docs.rs/axfs_vfs/latest/axfs_vfs/ + +## 接入不同文件系统 + +### axfs_ramfs + +https://docs.rs/axfs_ramfs/latest/axfs_ramfs/ + +### axfs_devfs + +https://docs.rs/axfs_devfs/latest/axfs_devfs/ + +### fatfs + +基于 https://github.com/rafalh/rust-fatfs 实现 + +### lwext4_rust + +基于 https://github.com/Azure-stars/lwext4_rust 实现 \ No newline at end of file