171 points · by joonehur · 2d ago · 77 comments
Yes, at the time, BSD was a fantastic OS, built by left-coast academic hippies trying to free Unix from its corporate shackles for education and research.
But Linux gained popularity early on (in my opinion) precisely because it was new and ambitious and had an obvious way for anyone to contribute their bug fixes and features. I arrived a few years after the first release but I very clearly remember the excitement around Linux was less, "you can run a Unix-like OS on your home computer," and more, "we are building a free OS for everyone, come join us." Running a Unix derivative or clone on a PC was not that rare by the mid 90s. But being able to contribute easily to a whole new OS that was also simultaneously being worked on by thousands of other hackers around the world certainly was new. And the fact that the kernel and most of the userland was GPL meant that it could never be taken away from us by commercial interests.
There was a LOT of early excitement around Linux. People created their own distributions, set up IRC channels, put up Linux fan pages and tutorials. They worked on documentation. They started Linux user groups and went to conventions to nerd out with fellow hackers. It all felt pretty counter-culture at the time.
I'm not entirely convinced BSD would ever have had that level of enthusiasm. It did not have as good an underdog story ("Norwegian kid creates free OS in his bedroom") and mostly worked already.
BSD was fine, but Linux was fun.
Linus said: “If 386BSD had been available when I started on Linux, Linux would probably never had happened.”
Source: https://gondwanaland.com/meta/history/interview.html
If everyone would have switched to BSD for stability (?? not sure how it was compared to Linux circa 93 to 95) or whatever -then Windows would have eaten everyone's lunch.
There is also A/UX, an Apple UNIX derived from BSD.
However, isn't the BSD story still going? Or were you only regarding history?
(at the time the US govt required that systems be able to run Sys V in order to be able to tender for govt contracts)
Aside from my weird fetish for how I like my desktop. I think where openbsd really excels is in the boring infrastructure department, minor low intensity services that keep stuff running in the background with no surprises, this is nothing that linux can't do, and if you are more familiar with linux go with that, but for stuff like a departmental or home level name servers, web servers, routers, mail servers, etc openbsd has close to zero fuss and drama and is fairly pleasant to sys-admin the old-fashioned way.
... or for what devices you need drivers. Linux here is simply top-notch and I see no way the BSDs might achieve the same level.
> where openbsd really excels is in the boring infrastructure department
Maybe not only that. They also excel into insisting using bad software for dogmatic reasons. I mean, a Linux has no qualms using a BSD licensed software, see BSD SSH -> OpenSSH -> Linux. But there are many others. But for dogmatic reasons, the BSDs won't really embrace GPL licensed software. And that limits the usefulness of BSD inherently.
Where BSD parhaps excel is at the API level. I heard several times that some APIs are better designed than their Linux counterparts were. And/or that it took Linux a long time to come to similar levels. E.g. like BSD jails vs. the Linux namespaces. Or when Linux only had ipfilter and I heard people saying that BSDs firewall is better.
> minor low intensity services that keep stuff running in the background with no surprises, this is nothing that linux can't do
If you really claim this then perhaps you don't know Linux.
I use Linux on all my desktop and laptop computers. Besides personal computers, I use Linux on some computational servers with GPUs, which have adequate software support, e.g. CUDA, only for Linux.
In the past the main advantage of Linux was in supporting a much greater range of hardware devices, but in recent years Linux has introduced more and more features that are much better than what POSIX specifies, for instance io_uring, so if you write Linux-specific programs you can get much better performance than with generic UNIX programs.
I use FreeBSD on my servers that have networking or storage functions (e.g. I have my own routers/firewalls and e-mail/web/DNS/NTP servers). In the now distant past, FreeBSD had much better performance than Linux, but then it lost several years with a very slow transition from single-threaded CPUs to multi-threaded CPUs, during which Linux leaped ahead, and then FreeBSD never recovered completely the lost advantage.
Nonetheless, I still prefer FreeBSD in many servers, because it requires much less administration work than Linux (i.e. there are better default configurations and many of the administrative utilities are simpler and more logical, so you get done faster any management work; sometimes years may pass during which I do nothing else for the FreeBSD servers, except reading the periodic automatic e-mail reports from the servers about significant events and statistics).
Moreover, while Linux supports many peripherals that are not supported by FreeBSD, there still are some peripherals that have better support in FreeBSD, e.g. tape drives and other SAS/SCSI peripherals.
So in my opinion it is better to be familiar with both Linux and FreeBSD and use whichever is more appropriate for a given application.
For someone without experience in server administration, installing and configuring one of the *BSD operating systems is much more likely to result in a server with acceptable performance and safety, than when installing some Linux distribution, where one would need to be much more knowledgeable to make the correct choices.
On the other hand, installing a *BSD on a modern laptop is much less likely to work immediately, without fiddling for hours or even days with various options, until making most of the peripherals to work.
Also the docs (man pages, mostly) are top notch.
To your actual question: For licensing reasons, ZFS is nicer to work with on FreeBSD than on Linux.
Is this backed by proof?
I'm asking because Linux runs on amazingly small devices, like WIFI routers via OpenWRT. Or in Germany on all Fritz Boxes (copper DSL, glass fiber, LTS etc)
Are there devices "out in the wild"?
I actually don't mean things the recent "Linux running on an ESP32", because that is mostly just a proof of concept, not real work.
> Lower attack surface
You understand that Linux has a ton of entries in .config that you can turn off??? What you know as "Linux Kernel" from your general Linux distribution like Debian or Fedora isn't "the" Linux kernel.
Embedded Linux like OpenEmbedded/Yocto uses that "Darling, I shrinked the kernel" approach a lot!
Once you install all the crap you need, it doesn't matter.
> lower CPU usage, lower RAM usage
Irrelevant for actual working loads which dwarf whatever the kernel/OS require.
It does matter though. Have you not seen all the critical exploits in the Linux kernel these days?
> Irrelevant for actual working loads which dwarf whatever the kernel/OS require.
That depends on the workload. What if you're on an embedded system where CPU/RAM resources are scarce? Or what if your machine is a server host and you want to run hundreds or even thousands of lightweight VMs?
The ability to cut down on overhead so that you have more resources available for your workload is hardly irrelevant.