Examining OpenBSD from the point of view of a Linux user
What OpenBSD Lacks
Perhaps the most outstanding issue plaguing OpenBSD is raw performance. Since the developers are more interested in making the source code readable and easy to understand than in making it blazing fast, the operating system does not take advantage of multithreading as much as it could.
Another thing administrators might miss is a more versatile filesystem. OpenBSD uses the Unix File System (UFS), which lacks modern journaling capabilities. Thankfully, it uses soft dependencies as an alternative, which ensure that the filesystem will remain in a consistent state after a crash. However, UFS does not offer Copy-on-Write, so you can't take ZFS-like snapshots of a running system.
Support for NVidia graphic cards can only be described as atrocious. The developers attribute this to NVidia's refusal to collaborate and share GPU specifications in order to write code for their cards, and therefore their official recommendation is to not use NVidia hardware with OpenBSD.
Removable devices are supported up to a point, but don't expect a mass USB storage device to auto-mount as it would do with a modern desktop environment on Linux. OpenBSD just does not have an abstraction layer for mounting pen drives and assigning them permissions out of the box. You can always hack a solution for supporting auto-mount, but it is an involved process.
Conclusion
OpenBSD is a true heir to the Unix heritage, built upon Unix code (instead of being a clone written from scratch, like Linux). As one of the big four surviving BSD Operating Systems – the other three being NetBSD, FreeBSD, and DragonFlyBSD – it still brings great features to the table.
OpenBSD's so-so performance, combined with a lack of a Copy-on-Write filesystem, may preclude it from certain server applications. Still, OpenBSD is a nice solution for deploying simple services, since the configuration files are compact and short, and the documentation is excellent. It is very popular for firewalls, routers, and ISP infrastructure.
The OpenBSD developers aim at delivering an operating system that has sane defaults and does not need the user to write complex configuration files in order to offer reasonable security. The unveil()
and pledge()
system calls are a good example: They are measures integrated in the programs the user runs, so the user needs not be aware of their existence to benefit from them.
Hardware support is not on par with Linux. If your computer has an NVidia card, you are better off using something else. The complications of hardware support have contributed to OpenBSD's reputation for being a server operating system rather than a desktop operating system. On the other hand, popular desktop applications such as Thunderbird and LibreOffice are available from the ports tree and the repository, so OpenBSD is certainly ready for the office as long as you are aware of the hardware limitations.
OpenBSD is home to a whole lot of projects that are valuable on their own. Some of these tools can be used on Linux, such as OpenSSH; others are OpenBSD specific, such as OpenHTTPD. In any case, these projects will delight proponents of the KISS principle. OpenBSD is worth a try, if just for the userspace software it ships.
Infos
- OpenBSD: https://www.openbsd.org
- Raymond, Eric S. The Cathedral and the Bazaar: Musings on Linux and Open Source by an Accidental Revolutionary, O'Reilly Media, 1999, http://www.catb.org/~esr/writings/cathedral-bazaar/
- OpenBSD manual page server: https://man.openbsd.org/
- OpenBSD Porter's Handbook: https://www.openbsd.org/faq/ports/index.html
- OpenBSD package management: https://www.openbsd.org/faq/faq15.html
- OpenSSH: https://www.openssh.com/
- OpenSMTPD: https://www.opensmtpd.org/
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.