diskfs / go-diskfs

MIT License
515 stars 116 forks source link

writable ext4 #243

Closed deitch closed 3 months ago

deitch commented 3 months ago

This is a first draft of write functionality for ext4, including tests (of course). The failure cases all work as expected. There do not appear to be any missing write-implementing functions, or any such functions that have missing functionality. However, some of that logic almost certainly is incorrect, as proven by the testing errors.

Anyone who want to assist fixing the functions is welcome.

deitch commented 3 months ago

This works, surprisingly well. I suspect it will break down with:

But I am happy to merge it in as is, and fix individual issues as they arise.