4 ms·
You can't rely on users to actually do this every time. The more robust you make your system the better.
by dividuum 9y ago
You can't rely on users to actually do this every time. The more robust you make your system the better.
- pishpash 9y agoOn the contrary, a sudden power loss is an exceptional case. Not having a button is just Raspberry Pi's (generally poor) hardware design decision, along with countless others relating to the power system and usability. Making your system entirely read-only _for this particular purpose_ is a hack, not a solution.
- dividuum 9y agoOf course it's a solution. It solve (among other things) the problem of unexpected power loss. You can't design your system for the happy path and hope for the best.
- tarikjn 9y agoActually, this is not a poor hardware design decision. It makes sense for certain systems to have a power buttons, other systems don't generally use one (e.g. routers). Power down strategy is left as an implementation for the user. Read-only systems have many advantages and I wouldn't consider them a "hack".
- megous 9y agoYou can't, but it's useful nevertheless. I have several Orange Pi's running as servers for various things, having HDD connected over USB, etc. I'm very glad it has a micro switch that can initiate a proper shutdown of the system. I certainly wouldn't want to just unplug them from power.