DragonOS/docs/kernel
火花 1e574d89fa
feat(fs): 补充mount系统调用,增加对硬盘挂载 & ext4文件系统的支持 (#1182)
主要变更:
* 实现完整的mount系统调用,支持从块设备挂载文件系统
* 新增ext4文件系统支持,基于another_ext4库实现
* 引入MountableFileSystem trait和文件系统工厂模式,提升VFS架构
* 完善块设备管理,自动将磁盘和分区注册到devfs(/dev)
* 支持virtio块设备的分区检测和挂载
* 新增umount2系统调用支持文件系统卸载
* 重构symlink相关系统调用,提升代码组织
* 提供硬盘镜像制作脚本和测试程序

技术细节:
- 支持ext4和vfat文件系统的挂载
- 实现MBR分区表解析和GenDisk管理
- 集成页面缓存支持提升文件系统性能
- 完善错误处理和设备号管理
- 新增详细的VFS挂载机制文档

测试验证:
- 新增test-mount-ext4和test-mount-fat测试程序
- 提供make_fs_image.sh脚本创建测试镜像
- 验证挂载、读写、卸载完整流程

Co-authored-by: Samuka007 <samuka007@dragon-os.org>
Co-authored-by: oeasy1412 <oeasy1412@gmail.com>
Co-authored-by: fslongjin <longjin@DragonOS.org>
2025-06-29 17:05:06 +08:00
..
boot feat(boot): 内核启动命令行参数解析 (#969) 2024-10-13 23:39:55 +08:00
configuration riscv: 把内核编译target改为riscv64gc & 获取time csr的频率 & 修正浮点保存与恢复的汇编的问题 (#699) 2024-04-06 22:13:26 +08:00
container refactor: Remove namespace related code (#1218) 2025-06-28 21:20:21 +08:00
core_api fix: remove useless c code (#1116) 2025-03-27 14:16:10 +08:00
cpu_arch doc: usb legacy support 2022-07-19 18:32:32 +08:00
debug chore: update docker image version in script && update doc (#1076) 2024-12-16 01:48:46 +08:00
filesystem feat(fs): 补充mount系统调用,增加对硬盘挂载 & ext4文件系统的支持 (#1182) 2025-06-29 17:05:06 +08:00
ipc 新增signal文档 (#126) 2022-12-24 23:30:26 +08:00
ktest 删除一些过时的C代码 (#565) 2024-03-08 23:22:48 +08:00
libs feat(ida): IDA内部改为使用XArray实现 (#934) 2024-09-25 11:20:52 +08:00
locking feat(log): 将内核日志统一为新的logger (#814) 2024-05-16 17:25:23 +08:00
memory_management 新的内存管理模块 (#303) 2023-07-22 16:27:02 +08:00
process_management chore: update docker image version in script && update doc (#1076) 2024-12-16 01:48:46 +08:00
sched chore: update docker image version in script && update doc (#1076) 2024-12-16 01:48:46 +08:00
syscall feat(syscall): 添加syscall table的实现 (#1164) 2025-05-13 18:59:18 +08:00
trace feat: support tracepoint-based ebpf programs (#1190) 2025-06-14 17:34:45 +08:00