Expand description
Simple Rust File System
A simple filesystem impremented in Rust.
This crate is a work-in-progress. It contains synchronous high-level API, similar to std::fs::* in Rust, and uses crate srfs-core internally. For use with [std].
All basic filesystem features are implemented (see struct FileSystem
),
with provisions for extensions.
At the moment only synchronous interface is provided.
TODO:
- crash recovery
- timestamps
- async API
Contributions are welcome.
Structs§
Enums§
Constants§
- BLOCK_
SIZE - MAX_
DIR_ ENTRIES - MAX_
FILE_ SIZE - PARTITION_
ID - See https://en.wikipedia.org/wiki/Partition_type. We use an arbitrary unused number here.
Traits§
- Sync
Block Device - Synchronous Block Device.