ihaveamac / ninfs

FUSE filesystem Python scripts for Nintendo console files
MIT License
438 stars 18 forks source link

Increasing file size in SD mount while writing to the middle creates corrupted data near the end #17

Closed ihaveamac closed 5 years ago

ihaveamac commented 6 years ago

Only tested on macOS but probably affects others. Not sure why this happens yet, but this situation seems unlikely so it's low priority. Only time file size normally changes is when data is being copied in, and that works fine.

ihaveamac commented 5 years ago

Turns out there were some other issues that could cause corruption too. Since I made it lazy, it doesn't happen anymore.

ihaveamac commented 4 years ago

Late discovery: This was probably happening because I was not flushing the data, oops.