主要变更: * 实现完整的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> |
||
---|---|---|
.github | ||
.vscode | ||
build-scripts | ||
config | ||
docs | ||
kernel | ||
tools | ||
user | ||
.gitignore | ||
.gitmodules | ||
.readthedocs.yaml | ||
LICENSE | ||
Makefile | ||
README.md | ||
README_CN.md | ||
SUPPORTERS.md | ||
dadk-manifest.toml | ||
env.mk | ||
triagebot.toml |
README.md
DragonOS
Languages 中文|English
DragonOS is a 64-bit operating system with a completely independent kernel, designed for lightweight cloud computing scenarios, offering Linux binary compatibility. It aims to provide lightweight, high-performance solutions for containerized workloads. Developed using Rust for enhanced reliability.
The DragonOS open-source community was established in July 2022 and is entirely commercially neutral. We warmly welcome interested developers and enthusiasts to join us!
DragonOS features excellent and comprehensive architectural design. Compared to other systems of similar scale, DragonOS supports eBPF and virtualization. Currently, we are actively advancing container support, cloud platform compatibility, RISC-V support, as well as porting compilers and application software. Our goal is to achieve large-scale production environment deployment within five years.
DragonOS is rapidly evolving under community-driven development. Currently, DragonOS has implemented approximately 1/4 of Linux interfaces. In the future, we will provide 100% Linux compatibility along with new features.
How to Run?
Running DragonOS is straightforward. You can refer to the following resources to get DragonOS up and running in as little as 15 minutes!
Want to Contribute?
Read the DragonOS Community Introduction Document carefully to understand how the community operates and how you can contribute!
If you'd like to join us, check out the issues and participate in discussions or share your ideas. You can also visit the DragonOS forum to stay updated on development progress and tasks: https://bbs.dragonos.org.cn
You can also bring your creativity and ideas to discuss with the community and contribute new features to DragonOS.
Sites
- Official Website: DragonOS.org
- Documentation: docs.dragonos.org
- Community Introduction: community.dragonos.org
- QQ Group: 476358494
How to Connect with the Community?
Please read the Contributor Guide~
- You can find contact details for members of various committees in the Community Management Team section.
- You can also locate the contact information for leaders of specific community groups via the SIGs and WGs pages.
Contributor List
Contributors to DragonOS-Community/DragonOS · GitHub
Sponsorship
DragonOS is a non-profit open-source project, and its development relies on financial support. All sponsors will be publicly acknowledged. Every contribution you make will help advance DragonOS!
Where Will Sponsorship Funds Be Used?
We guarantee that all sponsorship funds and items will be used for:
- Event organization, cloud service expenses, and any other purposes beneficial to the development and growth of the DragonOS community.
🌟 Sponsor List
Special thanks to these generous financial supporters (in reverse chronological order):
- 中国雅云 雅安大数据产业园 - 🥇 Long-term supporter
Individual Sponsors List
See Supporters.md
Open Source License Notice
This project is open-sourced under the GPLv2 license. You are welcome to use the code in compliance with the open-source license!
If you encounter any violations of the open-source license, we encourage you to email pmc@dragonos.org to report them. Let's work together to build a trustworthy open-source community.
👩💻 Contributors
"Open source shines because of you!" ✨
Thanks to all developers who submitted code, fixed issues, or reviewed PRs: