rust-fatfs
rust-fatfs copied to clipboard
A FAT filesystem library implemented in Rust.
Also add missing `Debug` implementations.
This PR seeks to solve #54. This is done by implementing `Read, Write, Seek, IoBase` for mutable references and removing the `IntoStorage` trait. This enables one to give a mutable...
Is it possible to format physical disks in Windows? Believe it or not, there is a use case here. Windows by default only allows 32GB max partition sizes for FAT32,...
The attached img file will cause the following subtraction to overflow: https://github.com/rafalh/rust-fatfs/blob/4892fb1791b29616d8573235eb83644003d13791/src/file.rs#L283 [img.zip](https://github.com/rafalh/rust-fatfs/files/9033820/img.zip) The application code can be seen here: https://github.com/evanrichter/rust-fatfs/blob/16f52f4d64c6d54ca9290f66e5167e1f2ddad552/fuzz/fuzz_targets/fs_load.rs
We could use the embedded async read/write/seek traits from https://github.com/embassy-rs/embedded-io/blob/master/src/asynch.rs. Note that until GATs are stable, this requires some nightly features. The hard part is how the blocking and async...
Hi there, thank you a lot for this excellent library. I've found myself confused a few times when I'd start interacting with the results of this library that the filesystem...
When the FAT dirty flag is set (which happens after ejecting an SD card without unmounting first on macOS), creating directories does not work as expected afterwards: When remounting the...
Regarding https://github.com/rafalh/rust-fatfs/pull/65#discussion_r884338092, I'm generally in favour of debuggability over compile time since this seems like a micro-optimization at this scale. I mainly needed this while debugging this crate itself, but...
Are there any plans on adding examples on how to use this with no_std?
When using the `lfn` feature, using `Dir::create_dir` creates empty files instead of directories.