| Crates.io | tg-easy-fs |
| lib.rs | tg-easy-fs |
| version | 0.1.0-preview.1 |
| created_at | 2026-01-22 05:24:07.3913+00 |
| updated_at | 2026-01-22 05:24:07.3913+00 |
| description | A simple filesystem implementation for rCore tutorial OS. |
| homepage | |
| repository | https://github.com/rcore-os/rCore-Tutorial-in-single-workspace |
| max_upload_size | |
| id | 2060811 |
| size | 45,040 |
A simple filesystem implementation for the rCore tutorial operating system.
This crate provides a lightweight filesystem (EasyFS) implementation designed for educational purposes. It features a classic Unix-like filesystem structure with inodes, block caching, and a simple yet functional virtual filesystem interface.
This crate is primarily used within the rCore tutorial kernel (ch6+) for file operations.
use tg_easy_fs::{BlockDevice, EasyFileSystem, Inode};
// Implement BlockDevice trait for your storage device
// Then create and use the filesystem
BlockDevice - Trait for block device abstractionEasyFileSystem - Main filesystem structureInode - Virtual filesystem node interfaceBlockCache - Block caching layerLicensed under either of MIT license or Apache License, Version 2.0 at your option.