News for hackers. Stuff that matters.
Re:A cheaper, smaller Raspberry Pi 3 is now available by dividuum on Thursday November 15, 2018 @02:36PM (#18462506)
I operate a digital signage service (https://info-beamer.com). It's using a custom built Linux OS that is highly optimized to deal with file system corruption and unexpected reboots:

* The OS is is always read-only. While this doesn't prevent all possible corruption scenarios, it's pretty close and you can be quite sure the system always boots.

* System updates are implemented as A/B. So even during updates, the OS the system booted from isn't touched.

* All content data is on a third partition and together with the OS files is constantly checked for indications of corruption.

* If the OS detects any bit error on the OS files, it is reinstalled (using the A/B mechanism above)

* If there's a bit error on any of the content files, they are deleted and downloaded again

* If the content filesystem is broken beyond repair the system reformats everything and restores everything automatically by redownloading

* Various watchdogs and checks constantly monitor system health and notify you on the dashboard.

The service has multi-million hours of service by now and the only case of filesystem corruption was due to a really crappy SD card. When done properly, the Pi can be reliable. That's also the reason why there is no way to properly shut down the system. Just unplugging power shouldn't be an unexpected circumstance but something you optimize for. Starting with a normal Raspbian and expecting that to work is a bad idea.

Re:A cheaper, smaller Raspberry Pi 3 is now available by donmcronald on Thursday November 15, 2018 @03:53PM (#18463195)
Is your updater self rolled or based on something existing like mender.io?
Re:A cheaper, smaller Raspberry Pi 3 is now available by dividuum on Thursday November 15, 2018 @04:13PM (#18463403)
Self rolled. Built in Python.
Re:A cheaper, smaller Raspberry Pi 3 is now available by beamatronic on Thursday November 15, 2018 @07:00PM (#18464747)
I have a use-case in mind where the power might disappear suddenly and often. Is there a different SBC board and OS which is optimal for this use-case?
Re:A cheaper, smaller Raspberry Pi 3 is now available by jburgess777 on Thursday November 15, 2018 @07:53PM (#18465173)
You might want to look at some of the 'Pi UPS' systems which have been developed. Once they indicate the power has failed you can start a graceful shut down. One example can be found here:

https://pi.gate.ac.uk/pages/mopi.html