SmolBSD – build your own minimal BSD system
10 comments
·October 14, 2025jmmv
signa11
there is also this: https://mirage.io which does something similar.
dazzawazza
I'm really enjoying some of the innovation in the BSD space at the moment.
hoppp
BSD space has always been ahead in some ways. They can move more freely forward.
SpecialistK
Wow, this looks like it will be a lot of fun to play with. As dazzawazza stated, very nice innovation going on. BSD deserves so much more love and attention!
metadat
Isn't FreeBSD already pretty small? I wonder what the LoC difference is between Smol, NetBSD and FreeBSD.
null
erredois
I was thinking about the smallest ssh server possible, and this looks interesting. I will try it later.
ggm
Does it do a minimisation of system calls and libc endpoints?
shoobiedoo
Very cool. Love the mascot icon
If you like this, I'd also suggest reading on "Rumpkernels", which are also based on NetBSD. The core idea is (simplified): let's implement the kernel API in userspace so that we can take kernel-level components and run them as part of an application.
Rumpkernels then allow, for example, taking all file system drivers in the kernel and running them in userspace without having to rewrite all of the file system tricky logic. Think of "mtools" if you ever used them, but by reusing existing FAT code. Or making it trivial to create disk images from userspace without having to have special kernel primitives nor root access.
And also, they allow taking a userspace application and packaging it with the minimum set of drivers required to run "bare metal". Which is what the SSH example in the smol page brought to mind. See https://github.com/rumpkernel/wiki/wiki/Repo%3A-rumprun