Note: This project is a fork of the original and has different design goals (including async and write support).
This repository provides a Rust crate that allows read-only access to an
ext4 filesystem. It also works with ext2 and ext3 filesystems.
The crate is no_std, so it can be used in embedded or osdev contexts. However, it does require alloc.
In order of importance:
- Correct
- All valid ext2/ext3/ext4 filesystems should be readable.
- Invalid data should never cause crashes, panics, or non-terminating loops.
- No
unsafecode in the main package (it is allowed in dependencies). - Well tested.
- Easy to use
- The API should follow the conventions of [
std::fs] where possible.
- The API should follow the conventions of [
- Good performance
- Performance should not come at the expense of correctness or ease of use.
- Writeable
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
See the code of conduct and contributing.md.
Bug reports and PRs are welcome!