#directory #read-write #unix #independent #architecture #os

nightly no-std efs

An OS and architecture independent implementation of some Unix filesystems in Rust

4 releases

new 0.3.2 Apr 28, 2024
0.3.1 Apr 28, 2024
0.3.0 Apr 28, 2024
0.2.0 Oct 23, 2023
0.1.0 Sep 28, 2023

#636 in Filesystem

Download history 1/week @ 2024-02-13 8/week @ 2024-02-20 1/week @ 2024-02-27 1/week @ 2024-03-05 8/week @ 2024-03-12 1/week @ 2024-03-26 7/week @ 2024-04-02 232/week @ 2024-04-23

240 downloads per month

GPL-3.0 license

435KB
7K SLoC

crates.io-badge

Extended fs

An OS and architecture independent implementation of some Unix filesystems in Rust.

/!\ Warning /!\ : this crate is not at all sure enough to be used in a real context. Do NOT manage any important data with this library, and make backups before using it!

The purpose of this library is not to be production-ready, but to help people who make toy OS (with Rust OSDev for example).

Features

  • no_std support (enabled by default)

  • General interface for UNIX filesystems

  • read/write regular files

  • Read directories content

Supported filesystems

If you want more supported filesystems, do not hesitate to open an issue on https://codeberg.org/RatCornu/efs/issues.

Usage

Add this to your Cargo.toml:

[dependencies]
efs = "0.3"

See examples on https://docs.rs/efs in src/lib.rs.

Features

  • ext2: enable the ext2 filesystem support

  • std: enable the features depending on the standard library

By default, only the ext2 feature is set.

License

Licensed under the GNU General Public License v3.0 which can be found here.

Dependencies

~4–5MB
~99K SLoC