What is Nostr?
Stefano Marinelli /
npub14ca…0nj8
2023-10-19 20:22:59

Stefano Marinelli on Nostr: Evening reflection, observing the little Raspberry Pi A that manages the outdoor ...

Evening reflection, observing the little Raspberry Pi A that manages the outdoor lights (powered by FreeBSD): one of the reasons I chose FreeBSD over other BSDs and Linux is the ease of running it in read-only mode when installed on a UFS file system.
Just change "rw" to "ro" in /etc/fstab, and upon the next reboot, the system will operate in read-only mode.
For systems with unstable power or the potential for dirty reboots (especially when using memory cards not optimized for frequent writes), this can ensure near-infinite file system longevity.
This has often saved remote systems, even those powered by batteries or solar panels, from corruption and inaccessibility. Achieving the same with OpenBSD or NetBSD isn't difficult, as they always write to specific locations (easily mountable in RAM file systems), while many Linux distributions (except Alpine and a few others) tend to write all over the place, making the operation more complex.

#FreeBSD #RaspberryPi #SysadminTips #NetBSD #OpenBSD #Linux #AlpineLinux
Author Public Key
npub14calwd6xg349ahf3nnhhyqem2w2e3gs66p7zctz2sna74u3tsddq7j0nj8