Make Your Own Read-Only Device with NetBSD
it-notes.dragas.net
it-notes.dragas.net
One thing I'm curious about is the deletion of this file:
var/db/man.db
I don't have first-hand experience with NetBSD but their online documentation seems pretty great. Does that also translate to the manpages? How could man.db be preserved for a read-only system?I'm toying with the idea of using NetBSD as a server for some fundamental network services. My goal is a scenario where I get Bus Factor'd and whoever takes over says:
The previous guy left, but we should be able to run with this for now. At first we were worried, but it turned out to be just a self-contained Unix system. The thing hasn't been rebooted in 20 years, but the documentation's complete enough for ChatGPZ to understand it. Keep in mind this doesn't support Nuralink, so we'll have to dig out the old keyboard. Don't forget the USB-D adaptor.
* In an alternative future, NetBSD will be ported to Nuralink.Put this stuff into a capacitor backed volatile disk with the main OS running from non-volatile. Set the current drain so that it stays for at most 7-14 days after power is removed.
dbohdan@ryo ~> count /arpa/*/*/* /udd/*/*
27718
According to `stat -f %m%t%N`, 7519 users have had their home directory modified in 2024.Outside of SDF, BSD and retrocomputing enthusiasts use NetBSD on their personal systems and servers. The portability and architecture attract some C and low-level hackers.
You can get an idea for how individual users run NetBSD, especially on modern hardware, by browsing https://www.unitedbsd.com/. UnitedBSD is a forum that acts as a hub for NetBSD users.
[1] https://en.wikipedia.org/wiki/SDF_Public_Access_Unix_System
You can also look into pkgsrc; NetBSD is its parent project and pkgsrc remains very portable across many "alien" operating systems, from QNX to macOS.
NetBSD was also forked into, and retains many similarities with OpenBSD (the latter is pretty decent for both server & workstation; it is also my favourite OS of all time, even if I don't get to daily drive it). I'd like to give NetBSD a proper try in this area to get my own opinion.
The 10.0 release is a massive improvement on modern hardware.
It's worth a look, for learning purposes if nothing more, as it is pretty clean and accommodating of research like the linked article.