I made a little device that solves a specific task. It gets turned on and off by powering it up and down. Now I had a corrupted file system for the first time. That's why I'm thinking about a strategy to avoid it.
I read that making the PI read only will prevent data loss. Is that correct?
Also I thought it might be possible to have an extra partition that is just a small read write tmp storage. The idea is that this partition just gets formatted by the py whenever it is corrupted. Is that realistic or are there any pitfalls? Does this extra partition endanger the other read only partitions?