photoframe icon indicating copy to clipboard operation
photoframe copied to clipboard

Build OS in Buildroot (to write protect the OS).

Open Snille opened this issue 5 years ago • 3 comments

Hi, this is not an issue, it's a suggestion. It's always a "problem" when you pull the power from a Linux machine. You risk breaking the OS. To avoid that you can make a "Read Only" version of the OS with BuildRoot. I have not done this myself, but I'm using a system called "MotionEyeOS" that uses this and it's working really well. Then you don't need to worry about breaking stuff when you loose power. :) As I said, it's just a suggestion. :)

Snille avatar Jan 28 '19 12:01 Snille

Not a bad idea, but more tricky since I need to save some settings whenever the web UI is used to edit the config. Will probably hold off on this one for a while 😸

mrworf avatar Jan 28 '19 17:01 mrworf

Hmm, that's true. However, ccrisan from MotioEyeOS also uses a web-interface to configure everything. He has a small part of the disk that is writable. I don't remember of the top of my head, but I think he uses a very small FAT partition (mounted in somewhere) to save everything, then just "links" to the files in /etc for example. But because that you only write to the partition/files when you actually save the changes in the web interface. The risk of the file system crashing is very minimal. Everything else is solved in RAM (as far as I can remember). You can probably contact ccrisan and ask for some advice. :)

Anyway, just wanted to make you aware of the BuildRoot thing. You can close this "non issue" if you want. :)

Snille avatar Jan 28 '19 21:01 Snille

I like the idea and it would behoove me to see if I can improve the image for other reasons too 😄 so it stays here but tagged as future so I don't forget

mrworf avatar Feb 12 '19 18:02 mrworf