#block-devices #low-level #system #file #std #timestamp

no-std srfs-core

Simple Rust File System (Core)

3 releases

0.1.2 Jan 4, 2024
0.1.1 Nov 12, 2023
0.1.0 Nov 11, 2023

#39 in #block-devices


Used in srfs

MIT/Apache

115KB
2.5K SLoC

Simple Rust File System (core library)

A simple filesystem impremented in Rust [no_std].

This crate is a work-in-progress. It contains low-level code to work directly with block devices (see trait SyncBlockDevice).

Higher-level API, dependent on [std], lives in crate srfs.

All basic filesystem features are implemented, with provisions for extensions.

At the moment only synchronous interface is provided. See src/tests.rs for usage examples.

TODO:

  • crash recovery
  • timestamps
  • async API

Contributions are welcome.


lib.rs:

Simple Rust File System (core library)

A simple filesystem impremented in Rust [no_std].

This crate is a work-in-progress. It contains low-level code to work directly with block devices (see trait SyncBlockDevice).

Higher-level API, dependent on [std], lives in crate srfs.

All basic filesystem features are implemented (see struct SyncFileSystem), with provisions for extensions.

At the moment only synchronous interface is provided. See src/tests.rs for usage examples.

TODO:

  • crash recovery
  • timestamps
  • async API

Contributions are welcome.

Dependencies

~190KB