nicholasbishop / ext4-view-rs

Rust library for reading ext2/ext4 filesystems
https://crates.io/crates/ext4-view
Apache License 2.0
9 stars 2 forks source link

Feature request: Journaling #317

Open Mathis-Z opened 9 hours ago

Mathis-Z commented 9 hours ago

I would like to read an ext4 file system with journaling. Currently this only works when the file system got unmounted cleanly so the journal is empty. Would it be possible to support journaling even though this crate is read-only? Assuming there usually isn't much data in the journal, the changes could maybe be held in memory and then be applied on the fly. Do you think this would be feasible?

nicholasbishop commented 5 hours ago

Yes, I think that should be doable.