使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算Serverless场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for **Serverless** scenarios.
Go to file
火花 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
.github feat: Update rbpf to mainline (#1209) 2025-06-20 10:49:59 +08:00
.vscode Feat(tty): Supplement process group logic (#1139) 2025-05-08 15:05:02 +08:00
build-scripts fix: la64 ci (#1134) 2025-04-22 01:35:30 +08:00
config chore: Bump dadk to 0.2.0 (#1058) 2024-11-27 01:30:31 +08:00
docs feat(fs): 补充mount系统调用,增加对硬盘挂载 & ext4文件系统的支持 (#1182) 2025-06-29 17:05:06 +08:00
kernel feat(fs): 补充mount系统调用,增加对硬盘挂载 & ext4文件系统的支持 (#1182) 2025-06-29 17:05:06 +08:00
tools feat(fs): 补充mount系统调用,增加对硬盘挂载 & ext4文件系统的支持 (#1182) 2025-06-29 17:05:06 +08:00
user feat(fs): 补充mount系统调用,增加对硬盘挂载 & ext4文件系统的支持 (#1182) 2025-06-29 17:05:06 +08:00
.gitignore feature: virtio console support (#1113) 2025-03-27 20:48:40 +08:00
.gitmodules 使用submodule引入DragonStub (#462) 2023-12-03 17:16:03 +08:00
.readthedocs.yaml 添加read the docs yml文件 (#427) 2023-11-08 20:01:51 +08:00
LICENSE Create LICENSE 2022-01-16 22:58:21 +08:00
Makefile Feat(process): 增加ProcessGroup以及Session机制 (#1115) 2025-04-22 13:22:42 +08:00
README.md docs: 更新README文件并添加README_CN.md和SUPPORTERS.md (#1170) 2025-05-22 12:32:23 +08:00
README_CN.md docs: 更新README文件并添加README_CN.md和SUPPORTERS.md (#1170) 2025-05-22 12:32:23 +08:00
SUPPORTERS.md docs: 更新README文件并添加README_CN.md和SUPPORTERS.md (#1170) 2025-05-22 12:32:23 +08:00
dadk-manifest.toml feat: la64 boot (#1132) 2025-04-20 18:51:45 +08:00
env.mk feat: la64 boot (#1132) 2025-04-20 18:51:45 +08:00
triagebot.toml feat: Update rbpf to mainline (#1209) 2025-06-20 10:49:59 +08:00

README.md

dragonos-logo

Lightweight Cloud-Native Kernel

官网 bbs

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

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

Sponsor this project

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: