PauMAVA/cargo-ramdisk

[Question] Does the project durable?

Closed this issue · 2 comments

Hello maintainer, I noticed your project from this reply.In your reply, you mentioned that your project may suffer from a loss of builds in shutdowns and reboots.
So I'd like to ask does the ramdisk write back to disk every time the build is finished? This may solve the durability problem.

Hello @ClSlaid ! As for now, the ramdisk contents are not written back to the original target directory. Despite this, I had already in mind this feature and will probably implement it in the following days.

Thanks for your interest in the project!

Hello @ClSlaid. I, unfortunately, had no time to implement this feature on my own but recently @psdzzm provided a PR #4 that fixes this via the --copy-back option.

This is solved.