News for hackers. Stuff that matters.
Re:OpenBSD 7.0 by nanna on Thursday October 14, 2021 @07:18AM (#28862839)
Any BSD fans out there wish to persuade a happy Debian desktop user to take a BSD for a spin?
Re:OpenBSD 7.0 by yabones on Thursday October 14, 2021 @09:19AM (#28863866)
Linux systems are made by dozens of disparate teams, and it shows. Every command has a different syntax - just think about how "help" could be -h, --help, -help, -? etc

BSDs are very tightly integrated. The entire OS is very consistent and 'correct', down to the tiny and pedantic details like putting things under /usr that are usually installed in /bin, because that's the way it's supposed to be. (Ex. `/usr/local/bin/bash`)

Think of it like reading Wikipedia, no matter which page you read it seems like it was written by the same person. That's the kind of consistency that OpenBSD intends to create.

Re:OpenBSD 7.0 by adamrt on Thursday October 14, 2021 @09:25AM (#28863923)
Just to clarify, Bash is installed under /usr/local because it’s from packages and not part of the base system.

The base shell, ksh, is at /bin/ksh.

You probably know that but I just felt like being pedantic this morning :).

Re:OpenBSD 7.0 by chasil on Thursday October 14, 2021 @10:07AM (#28864405)
...and that ksh descended from pdksh, and is distributed as the oksh portable project here:

https://github.com/ibara/oksh

The MirBSD Korn Shell also descended from pdksh, and it can be found here:

http://www.mirbsd.org/mksh.htm

I don't know about the feature differences and code quality between these two; they both implement most of ksh88, and a small amount of ksh93.

I prefer mksh when I need something more than a POSIX shell.

Re:OpenBSD 7.0 by yabones on Thursday October 14, 2021 @10:53AM (#28865089)
Yes, absolutely true. The idea is that `ksh` is good enough, and the extra features of bash are extraneous or unnecessary, making it an add-on rather than a core feature.

It's an interesting idea, and while I feel bash is absolutely 'good enough' to be part of the base system, I wouldn't want zsh or fish part of my base system - so it's then a matter of opinion whose shell is bloat and whose is essential. So I respect their decision to not include bash in the base image - it's meant to be uncompromisingly lean and simple.

Re:OpenBSD 7.0 by chasil on Thursday October 14, 2021 @11:30AM (#28865677)
Another issue is size. This is what I see on CentOS:

    $ ls -l /bin/bash /bin/dash /bin/mksh
    -rwxr-xr-x. 1 root root 964536 Nov 22  2019 /bin/bash
    -rwxr-xr-x. 1 root root 113536 Nov  5  2018 /bin/dash
    -rwxr-xr-x. 1 root root 296192 Jan 27  2018 /bin/mksh
The Debian Almquist shell has nearly nothing beyond POSIX (I believe that local function variables are the only extension). This is the Ubuntu system shell, and it tolerates no bashisms. Alternate POSIX shell implementations in OCaml (and somewhat ADA) accuse Almquist of not using formal grammars and imply that dash is not a safe implementation.

https://www.irif.fr/_media/rencontres/pps2018/regis-gianas.p...

I would say that mksh implements 80% of bash functionality in much less space, and closely follows ksh88; mksh is also licensed such that Android uses it as /bin/sh.

Apple has switched from bash to zsh. I don't know the motivations for this, but preferences for shells wax and wane. BSD doesn't include bash (in base) more because of license than code quality.

POSIX seems to be all that we can agree on, but I do wish that standard could grow; it's stuck in the '70s.

Re:OpenBSD 7.0 by rsfinn on Thursday October 14, 2021 @12:43PM (#28866615)
Apple avoids GPLv3-licensed software, which may explain why they continue to ship an older version of bash (3.2, the last GPLv2 version). Eventually they must have decided that was too outdated to keep as the default shell and switched to zsh, which has an MIT-derived license.
Re:OpenBSD 7.0 by petre on Thursday October 14, 2021 @12:15PM (#28866268)
> Apple has switched from bash to zsh. I don't know the motivations for this

GPLv3 vs BSD or MIT license. I lived zsh anyway, switched some of my BSD shells to it afterwards.

Re:OpenBSD 7.0 by edgyquant on Thursday October 14, 2021 @12:26PM (#28866399)
I love zsh but it’s history doesn’t segregate based on the tty and it locks up a lot during autocompletion for me (on Ubuntu.)
Re:OpenBSD 7.0 by petre on Friday October 15, 2021 @01:35AM (#28874657)
I'm using it without any plugins and disabled autocompletion anyway, because it just gets in the way irrespective of the shell. Like not completing tar filenames if it doesn't like the extension (tar axvf) even if the file is there. Modren distributions 'helpfully' enable completion by default.

I don't like the fact that you have no way to clear the history buffer if you've accidentally dropped a password at the prompt. Bash has history -c. I don't have shared history enabled, you could unset that and it'll stop segregating.

Anyway, zsh is a lot more versatile and familiar than tcsh for instance, so it's almost always my go to shell on FreeBSD as /bin/sh is quite limited, but also miles ahead of the Debian shell regarding features.

Re:OpenBSD 7.0 by massysett on Thursday October 14, 2021 @03:47PM (#28869054)
This is not typically the default setting in zsh (it is if it’s acting like ksh.) Your distributor has probably “helpfully” set it up this way. man zshoptions and look for “SHARE_HISTORY”.
Re:OpenBSD 7.0 by edgyquant on Sunday October 17, 2021 @02:18PM (#28898494)
It's Ubuntu 18.04 with Oh My Zsh
Re:OpenBSD 7.0 by gtirloni on Thursday October 14, 2021 @09:53AM (#28864185)
And that would make me switch from Linux why exactly?

Don't get me wrong, I was a BSD user for many years (FreeBSD 3.5-5.0) but I don't think that's enough reason to switch.

Re:OpenBSD 7.0 by stiray on Thursday October 14, 2021 @11:25AM (#28865602)
Reason for my switch was that some key things (for me) were designed in a way that seemed more right that on linux and this is totally subjective opinion.

I am still running ubuntu on laptop and will switch when the next install is a thing, but I am running freebsd on server for years now and while i tremble on each update for the laptop, I dont for freebsd, even when updating from 12.x to 13.x.

Based on years of experience on both operating systems. I was surprised only once when freebsd made change where the base network settings weren't by default copied into fibs (you wont encounter this... probably ever) and even then I needed an hour to figure what the change was.

On the other side, I no longer count the nasty surprises the linux distributions played on me (like /etc/resolv.conf being overwritten by systemd resolv, just as trivial change). My laptop is unbootable for a year as they messed something regarding the order of zpool import (bpool being imported before rpool - probably a race condition) so i have to import it manually or it doesnt boot, while I have freebsd zfs root for ~10 years and it never failed me.

Details like that made me insecure about linux. And on the other side, made me highly secure about freebsd.

I think that (again, this is subjective, speaking only for myself)...

I... trust... BSD... guys. Based on experience.

I... dont trust linux... distributions. Based on experience.

But it might just be me.

Re:OpenBSD 7.0 by dijit on Thursday October 14, 2021 @11:50AM (#28865950)
Not to be that guy, but your Linux complaints sound like systemd complaints.

Not sure the teething process has finished there, but I share the sentiment.

Re:OpenBSD 7.0 by stiray on Thursday October 14, 2021 @01:03PM (#28866909)
Naah, systemd is not bothering me at all, i dont have issues if they change the way how resolve information is stored.

What bothers me that the old way is still there (/etc/resolv.conf) while it is being generated by systemd. I can accept the change where the dns information is stored. Fine, it is no longer the same file, I dont care. While on the other side, if I get parallel mechanism, that is keeping the old, this is really an annoyance. That is hard to identify.

The ZFS has nothing to do with systemd and I havent even touched stuff like jails/lxc, byhve/kvm, memory consumption, quality of code,... as I have said it, it is subjective and it is about trust into operating system. Linux distributions dont have it. They blew it just too many times. BSD didnt.

It is hard to be objective there, just try the BSD. And please do report your findings.

Re:OpenBSD 7.0 by blacktriangle on Thursday October 14, 2021 @10:07AM (#28864400)
It made me switch from Linux.

If it doesn't sound compelling to you, that's okay too, Linux is great. But I do think focusing on the consistency of design really is the best high-level summary of the difference between Linux and OpenBSD.

Re:OpenBSD 7.0 by Filligree on Thursday October 14, 2021 @10:54AM (#28865106)
Consistency is great, but there's no equivalent to NixOS for the BSDs -- that I know of.

Am I actually wrong about that? Is there some declarative configuration system I should be using, which I've simply never heard of?

Re:OpenBSD 7.0 by bpye on Thursday October 14, 2021 @02:13PM (#28867859)
There are a couple issues tracking FreeBSD support for Nix [0,1], the package manager indicating it works there. Depending on the level of integration you want that might be sufficient, that would already be enough to generate the system config files for example, but to get the sort of integration you get on NixOS with different generations and the ability to rollback at boot would require more work. This would look something more like nix-darwin [2] than NixOS really.

I wouldn't be entirely surprised if OpenBSD works too, I might spin up a VM and see...

[0] https://github.com/NixOS/nix/issues/3280

[1] https://github.com/NixOS/nixpkgs/pull/81459

[2] https://github.com/LnL7/nix-darwin

Re:OpenBSD 7.0 by rgrmrts on Thursday October 14, 2021 @11:26AM (#28865628)
I was actually looking into this as well. I recently switched my server to NixOS and the declarative configuration has been really nice to work with and fits easily into my workflow/tools (emacs with tramp).

I’d be really interested in seeing a variant on top of openbsd that has a comparable declarative layer. If anyone knows of such projects, please share!

Re:OpenBSD 7.0 by blacktriangle on Thursday October 14, 2021 @11:05AM (#28865290)
I think we're talking about different definitions of consistency.

In the BSD context, consistancy is that human effort has been put in to get the userspace to look similar. Similar behavior of command line tools, similar documentation, similar configuration, etc.

It looks like you're talking about consistancy of packages across installs, which is a totally different issue.

Re:OpenBSD 7.0 by Filligree on Thursday October 14, 2021 @11:36AM (#28865760)
No, that's the sort of consistency I was thinking of. I simply want that and all the niceties I'd get from NixOS.
Re:OpenBSD 7.0 by space_ghost on Thursday October 14, 2021 @10:38AM (#28864885)
Why is that "the way it's supposed to be," and how is it going to improve my user experience? It just seems like unnecessary complexity to me.
Re:OpenBSD 7.0 by andai on Thursday October 14, 2021 @11:54AM (#28866016)
When things are consistent, less mental effort goes into remembering arbitrary differences.
Re:OpenBSD 7.0 by yung_steezy on Thursday October 14, 2021 @07:38AM (#28862961)
I would recommend FreeBSD if you were going to try one of them. The BSD experience a bit like using linux was like 15 years ago. Online DRM for sites like Netflix will not work for example. Specifically in the case of FreeBSD the filesystem is well curated and cohesive, if you feel a file ought to be in a certain location it is usually there. Additionally the manpages and docs are a joy to read.

I'm less familiar with OpenBSD but it is similar in terms of prioritising being a cohesive operating system and docs. Some design choices the team have made for reasons such as security make the system feel sluggish by modern standards, even compared to other BSDs. You might get a lot of mileage out of it if you enjoy old school C programming and reading the source code for coreutils libraries.

Re:OpenBSD 7.0 by deltarholamda on Thursday October 14, 2021 @11:30AM (#28865684)
>prioritising being a cohesive operating system and docs

This is one of the areas where OpenBSD really shines. Their documentation is really good. FreeBSD is also quite good, but I've been consistently impressed with OpenBSD's docs since 2.5.

Linux distros can't reach the same level of quality due to being less cohesive at the base, though they do make up for it with quantity. You can search for most Linux issues and find an answer.

Re:OpenBSD 7.0 by bluedino on Thursday October 14, 2021 @12:14PM (#28866262)
Arch was the most BSD-ish when I tried it a few years back
Re:OpenBSD 7.0 by Koshkin on Thursday October 14, 2021 @03:43PM (#28868999)
This is usually said about Slackware. (It uses the BSD style init system.)
Re:OpenBSD 7.0 by ToddWBurgess on Thursday October 14, 2021 @09:44AM (#28864108)
I got FreeBSD running on a Raspberry PI. It isn't too hard to install and get up and running. I primarily use FreeBSD on the Pi for ARM assembly programming. All BSDs are great for devs.
Re:OpenBSD 7.0 by blacktriangle on Thursday October 14, 2021 @10:08AM (#28864415)
ooc why didn't you try NetBSD? Isn't running on every little device kinda their wheelhouse?
Re:OpenBSD 7.0 by ToddWBurgess on Thursday October 14, 2021 @10:16AM (#28864553)
I did try NetBSD first on the Pi but the install wasn't working for me. Getting FreeBSD up and running on the Raspberry Pi was a lot less painful. If I really want to kick around NetBSD I can run an instance of it in GNU Boxes on one of my Linux boxes.
Re:OpenBSD 7.0 by Fredej on Friday October 15, 2021 @06:24AM (#28876212)
I find this angle quite interesting. Once a system clears that bar of "it works pretty well and does what I need" stuff like documentation and a well ordered experience is what's matters. Not what's under the hood in terms of code.

This speaks to the need for non-coders taking part in open-source projects.

Re:OpenBSD 7.0 by 2pEXgD0fZ5cF on Thursday October 14, 2021 @07:44AM (#28863004)
I love OpenBSD because it is as close to "just works" as it gets in an ideal world. I love using it for my personal website because it is very easy to get a proper overview over the OS as a whole and because it comes with some of my favourite pieces of software and all I need for a personal website is part of the system: httpd, pf etc. Also OpenBSD has some of the best docs out there, I rarely need to websearch anything.

Unfortunately, we don't live in an ideal world, so I rarely get to spin up OpenBSD outside of that due to a number of reasons like a lack of filesystems for interoperability (USB media) and firmware drivers (got to be specific in the hardware you buy for it).

Re:OpenBSD 7.0 by umanwizard on Thursday October 14, 2021 @08:59AM (#28863640)
You’re obviously curious and want to try it, or you wouldn’t have posted that, so why not go for it? You have nothing to lose.

For me the coolest thing about OpenBSD is it’s the simplest OS that is still of practical use (i.e., not counting ones that are purely for research or education). So if you’re curious about how any part of the system works, it’s easy to just dive into /usr/src and figure it out. It’s also entirely configured via simple text files rather than some opaque systemd monstrosity.

Re:OpenBSD 7.0 by tazjin on Thursday October 14, 2021 @09:13AM (#28863799)
systemd is configured via simple text files
Re:OpenBSD 7.0 by umanwizard on Thursday October 14, 2021 @09:26AM (#28863936)
What simple text file is, for example, the list of WiFi SSIDs to try to connect to stored in?
Re:OpenBSD 7.0 by nix23 on Thursday October 14, 2021 @09:31AM (#28863990)
/etc/systemd/network/25-wireless.network

https://wiki.archlinux.org/title/systemd-networkd#network_fi...

But simple i would not call it...compared to bsd ;)

Re:OpenBSD 7.0 by coffeecat on Thursday October 14, 2021 @01:54PM (#28867612)
I believe this is incorrect. Systemd-networkd handles layer-3 routing and some amount of layer-2 stuff (MAC addresses, etc), but it doesn't handle wifi connections. Wifi connections are handled by wpa_supplicant (the older, and still more common wifi daemon) or iwd (newer, but not yet widely adopted).

The vast majority of users control wpa_supplicant indirectly through NetworkManager, so it's not widely known that it can be configured using simple text files. But it can! On Arch linux, the default config file location (for network card wlan0) is: /etc/wpa_supplicant/wpa_supplicant-wlan0.conf.

iwd is similarly straightforward to configure using text files. Using the CLI front-end is typically a nicer experience, since you get to pick the SSID from scan results and you get quick feedback if you mess up the password. But if you want to do it manually, just create one file per wifi network (containing SSID, password, etc) in /var/lib/iwd/.

Re:OpenBSD 7.0 by enriquto on Thursday October 14, 2021 @09:57AM (#28864252)
This file does not exist on my rather plain ubuntu 20.04 LTS.

I tried finding similarly named files, to no avail. Knowing the notorious ADHD of the systemd developership, I wouldn't be surprised if this file is moved, renamed, and uses a different format every six months.

Re:OpenBSD 7.0 by nix23 on Thursday October 14, 2021 @10:12AM (#28864473)
/lib/systemd/network

http://manpages.ubuntu.com/manpages/focal/man5/systemd.netwo...

or

find / -name '*.network'

But yeah, BSD's would have them at one place -> /etc ...linux-distro standardization is a terrible mess.

Re:OpenBSD 7.0 by SAI_Peregrinus on Thursday October 14, 2021 @12:27PM (#28866412)
That's not a systemd thing, that's a distro thing. The default path is where it gets put if it's part of the base system, if it's installed from a package or if the distro makers decide to change it (because maintainers forks of projects often change things) it'll be elsewhere. But the systemd project doesn't control that.

EG Debian's systemd fork puts it in /lib/systemd/network/ (and lots of other network files in /usr/lib/systemd/network/).

Re:OpenBSD 7.0 by mistrial9 on Thursday October 14, 2021 @09:56AM (#28864232)
How are remote updates in Ubuntu configured by text file under systemd?
Re:OpenBSD 7.0 by nix23 on Thursday October 14, 2021 @10:46AM (#28864978)
Remote Updates..systemd? Do you mean apt?

/etc/apt/apt.conf.d/

https://wiki.debian.org/UnattendedUpgrades

Re:OpenBSD 7.0 by tazjin on Thursday October 14, 2021 @10:07AM (#28864407)
I don't know, I don't use distributions with imperative state management.
Re:OpenBSD 7.0 by upofadown on Thursday October 14, 2021 @08:29AM (#28863360)
I don't care that much about the security claims but I have to acknowledge that they are probably true to some extent. I value OpenBSD most for its minimalism. The OpenBSD project seems to have managed to avoid the feature bloat that other systems are now suffering from. You have to learn it, but there is not a lot there to learn.

Once you figure out how to set it up then the audio just works. That is a killer feature compared to the situation I had to deal with when I was doing Debian on the desktop.

Re:OpenBSD 7.0 by waynesonfire on Thursday October 14, 2021 @07:49AM (#28863040)
Im a life long linux user and decided to use FreeBSD as a platform for my most recent hobby project. It was surpising how enlightening it was to use a different tool. It does somethings the same way, somethings different, what was most pleasant was discovering the things it did better. I don't think you can read about it, really worth experiencing this.
Re:OpenBSD 7.0 by yrui on Thursday October 14, 2021 @07:59AM (#28863115)
I've been running OpenBSD more than 15 years, and it does have a learning curve.

One area to consider as a happy Debian desktop user is using OpenBSD as a router OS. PC Engines (I have no affiliation to them) makes a very nice router called "Alix" and OpenBSD works well on it. Previously, people were installing it on Soekris routers before they went out of business.

OpenBSD's firewall pf is by far my favorite, and it and OpenBSD have a lot of nice networking features and tools to tinker with. It's free of blobs (in the default install), free of known bugs (in the default install--but generally your router will work well with only the default install), and configured to be reasonably secure by default. The documentation is also frequently praised.

How many other modern, full-fledged, well-maintained and open code OSes run in 32 Mb of RAM?

Re:OpenBSD 7.0 by thijsvandien on Thursday October 14, 2021 @08:35AM (#28863411)
ALIX is EOL. Nowadays you'll want to use their APU (excellent too).
Re:OpenBSD 7.0 by tomc1985 on Thursday October 14, 2021 @10:36AM (#28864851)
I recently built my latest server in FreeBSD just to get some hard experience with it...

...and I love it! Documentation is generally excellent, readable, and centralized. There are only a dozen or two processes running on a fresh system without much of anything installed, and idle CPU usage is the zeroyist zero I've ever seen for a server OS. The directory structure in `man hier` is actually used, and it feels like the surface area of what I have to learn to be proficient is sooooooooooo much smaller. It's not perfect (home and end keys don't work consistently) but definitely a breath of fresh air.

Plus, many programs (ezjail, for example) integrate tightly with ZFS, which is also awesome. I know linux finally got quality ZFS support but BSD (along with solaris) are OG

Plus, now I am learning a great deal about how MacOS is built.

Funny enough, I have a DJ controller (Pioneer XDJ-XZ) that uses BSD for its operating system. So it seems to be a great embedded audio OS as well!

Re:OpenBSD 7.0 by puffyn on Thursday October 14, 2021 @11:56AM (#28866035)
I can only comment on OpenBSD. It’s a minimal unix system. I like the minimalism. OpenBSD is mainly a router/server/firewall system but you can use OpenBSD on a desktop. If your hardware is supported everything works out of the box. Firefox/Chromium have pledge/unveil security which prevent them from accessing your file system. Something like apparmor but works put of the box. However it’s not designed as a desktop system (installing a browser introduces many security risks). They have some additional security features like encrypted swap and others. In terms of security, the OpenBSD kernel is a lot smaller than the linux kernel. Can’t have holes in code that doesn’t exist. All together it’s just a minimal small unix system.

If you want to use it on the desktop, you can use it for basic surfing or 90s video games. I’m using it for fun mainly. There is no jails / docker / virtualbox so I don’t use it for coding.

OpenBSD isn’t really a desktop OS, desktop users typically use FreeBSD because there are many more packages. FreeBSD is a completely different OS.

Re:OpenBSD 7.0 by snvzz on Thursday October 14, 2021 @12:55PM (#28866789)
>basic surfing

With recent versions of chrome/firefox and 3d acceleration on amd/intel graphics, you're not limited to "basic surfing".

The only reason I can think of that you would say that is that perhaps you do e.g. have an NVIDIA card (why...) and thus you're stuck with no accelerated graphics.

Re:OpenBSD 7.0 by lcall on Thursday October 14, 2021 @01:43PM (#28867472)
After learning some things (see my umask comment etc, elsewhere here on this page, and my way around the FAQs etc), I have found it very useful for my desktop and am happy with it. Even before I learned things like tmux and fvwm, xfce etc worked nicely.

(Having said that, my needs might be atypical.)

Edit/ps: last I knew, it had something like 10_000 binary packages available, in addition to the base system.

Re:OpenBSD 7.0 by anthk on Thursday October 14, 2021 @12:30PM (#28866447)
>If you want to use it on the desktop, you can use it for basic surfing or 90s video games

Why? You have PPSSPP, Dolphin, maybe some current-gen emulators, and lots of sourc ports. And fnaify for Mono games.

https://playonbsd.com/shopping_guide/

Re:OpenBSD 7.0 by amatecha on Thursday October 14, 2021 @01:19PM (#28867146)
There is virtualization with vmm: https://www.openbsd.org/faq/faq16.html
Re:OpenBSD 7.0 by gigatexal on Thursday October 14, 2021 @07:55AM (#28863087)
This link is for OpenBSD but I have the most experience with FreeBSD. Reasons to try out a BSD, even FreeBSD:

1. ZFS -- by far and away the best filesystem there is. (A hella partisan take but try it out and you'll likely fall in love like the rest of us did)

2. The handbook. The handbook is gold. It's up there with some of the best documentation available.

3. Less fragmentation. The BSDs have 3 main derivatives: NetBSD, OpenBSD, and FreeBSD. (There are others but these are the main)

4. If you like LXD then you'll love Jails.

5. The BSD license. (If being the most free means something to you. I kind of like it but maybe this isn't a selling point.)

6. Can be rolling or used in an LTS fashion. It's rather easy to track -current all the time or just stick with a stable release and do periodic binary package updates.

Re:OpenBSD 7.0 by tharne on Thursday October 14, 2021 @10:05AM (#28864379)
I used open BSD for a little while. It's very simple, clean, and elegantly designed. If you're looking to learn more about Unix, then you'll have a lot of fun with OpenBSD.

If you want to use it as a daily driver, you're probably going to run into some headaches. That being said, if you're willing to put in some time, learn a little bit and forgo some software here and there, you certainly *could* use OpenBSD as a daily driver. One really cool thing about OpenBSD is that the OpenBSD devs use the OS as their daily driver.

You'll likely keep hearing about how good the OpenBSD man pages are. I always thought this was a weird thing to mention and make a big deal about. But holy crap, the OpenBSD documentation is amazing. Reading it has definitely made my own documentation at work significantly better.

The downside? There are a couple. The biggest two are that, 1) you're not going to find a lot of the software you might normally use; and 2) The performance is not great and battery life is not very good.

Re:OpenBSD 7.0 by 35fbe7d3d5b9 on Thursday October 14, 2021 @10:23AM (#28864663)
> If you want to use it as a daily driver, you're probably going to run into some headaches

This all depends on the hardware you bring to the table. A random Acer laptop with a questionable ACPI table is probably going to have problems, but a previous-gen Thinkpad X1 should be great because that's what the devs use.

> you're not going to find a lot of the software you might normally use

This really depends on your use cases – I can do most of the development I want on my OpenBSD laptop. But there are some gaps, absolutely.

> The performance is not great and battery life is not very good.

Harder to argue this one. It's getting better release by release, though :)

Re:OpenBSD 7.0 by Koshkin on Thursday October 14, 2021 @07:29AM (#28862908)
Coherency, security, stability, ZFS... Perfect on a server (e.g. a VPS), may not be as good as a desktop or as something to run on a laptop (depending on hardware).
Re:OpenBSD 7.0 by mrweasel on Thursday October 14, 2021 @09:44AM (#28864103)
> Coherency, security, stability, ZFS...

My only sort of complaint in regards to FreeBSD is actually ZFS. Not that it's not fantastic, or that it shouldn't be there. ZFS does however clearly comes from Solaris, and there have been no effort to make the ZFS command line tools feel more BSD like.

Changing the tooling around ZFS probably isn't a great idea, but coherency has clearly taken a backseat to features in this case.

Re:OpenBSD 7.0 by MisterTea on Thursday October 14, 2021 @10:26AM (#28864702)
> Changing the tooling around ZFS probably isn't a great idea, but coherency has clearly taken a backseat to features in this case.

Right, because ZFS is a foreign piece of software that runs on other operating systems. At that point you are better off keeping those tools coherent with other ZFS implementations. This is a good compromise.

Re:OpenBSD 7.0 by gtirloni on Thursday October 14, 2021 @09:55AM (#28864217)
It's coherent with the other ZFS implementations in Linux and Solaris.
Re:OpenBSD 7.0 by nrr on Thursday October 14, 2021 @06:15PM (#28870914)
Likewise, apropos storage systems that handle logical volume management, Linux's LVM tools are extremely reminiscent of those from HP-UX[0], and NetBSD's LVM guide explicitly calls out their tooling being built from Linux's lvm2tools[1].

There's a modest amount of precedent for this kind of thing.

0: lvcreate(1M) from HP-UX 11i https://nixdoc.net/man-pages/HP-UX/man1/lvcreate.1m.html

1: http://www.netbsd.org/docs/guide/en/chap-lvm.html

Re:OpenBSD 7.0 by umanwizard on Thursday October 14, 2021 @09:00AM (#28863651)
> ZFS

NB: Not on OpenBSD.

Re:OpenBSD 7.0 by pastrami_panda on Thursday October 14, 2021 @07:39AM (#28862969)
> Coherency

What does this refer to in this context?

Re:OpenBSD 7.0 by tbrock on Thursday October 14, 2021 @07:46AM (#28863017)
Things are where you’d expect, patterns and conventions cary on throughout the system, etc… Vs the disjoint feeling linux has.
Re:OpenBSD 7.0 by JoshTriplett on Thursday October 14, 2021 @08:23AM (#28863316)
Part of the job of a Linux distribution is to provide policy, conventions, and similar consistency.

If you install everything from sources directly, or directly from upstream vendors, you may get inconsistencies, but if you install everything from your Linux distribution, you should get reasonable consistency, just as if you install everything from your BSD distribution.

Re:OpenBSD 7.0 by agumonkey on Thursday October 14, 2021 @09:48AM (#28864142)
even in a distro, you'll get various syntax variations for instance
Re:OpenBSD 7.0 by JoshTriplett on Thursday October 14, 2021 @10:01AM (#28864316)
Syntax of what?
Re:OpenBSD 7.0 by agumonkey on Thursday October 14, 2021 @11:25AM (#28865599)
cli programs, they all have different ways to handle arguments, options, help

ps: another instance, albeit not a BSD strength either, would be data format, every output is different, I, like a few people too wanted some json as pivot representation to cut the thousands of papercuts, that kind of uniformity is what I expect from "system"

Re:OpenBSD 7.0 by evh on Thursday October 14, 2021 @11:45AM (#28865868)
Lots (just some? most? I haven't really used it much) of FreeBSD system utilities are using libxo for output, so you can use e.g.

    ps --libxo json
and get json output, or xml/html
Re:OpenBSD 7.0 by agumonkey on Thursday October 14, 2021 @02:00PM (#28867702)
I didn't know bsd already adopted it, only heard a few passing mentions. That's great, though, and note that I mostly meant that about linux.
Re:OpenBSD 7.0 by zokula on Thursday October 14, 2021 @09:43AM (#28864096)
I already have that with Linux.
Re:OpenBSD 7.0 by eacafdcbac on Thursday October 14, 2021 @03:56PM (#28869165)
Playing with OpenBSD will be a learning experience. For me, that's usually enough to install something on a non-daily driver machine.

Are you a software engineer or CS student? If so, I'd say that OpenBSD really shines in code simplicity, clarity, and consistency. This is also a matter of taste. What drew me in initially was the quality and consistency of the kernel source code, consistent high standards in documentation, and the design of system interfaces and libraries.

I like being able to answer my own questions and I find that easier in OpenBSD than in Linux. Sometimes I sit for hours and simply flip back and forth between documentation and code exploring how things work. I feel that this level of consistency and availability of information within the system feed creative urges on my part.

I like to write code and I feel like I have an easier time doing that in OpenBSD than Linux (again, a matter of tastes.) This is in large part because my workflow tends to happen at the terminal.

I would be surprised to find that VSCode, Slack, Discord, and other electron-y applications can be made to work in OpenBSD at all... maybe they do, but I've never felt the need to try, so if they don't I'm fine with that.

I think OpenBSD is well adapted to a specific kind of user and a specific kind of problems. If you're paranoid, or a developer, or just like the terminal window, or prefer design consistency over broad compatibility and feature variety, you might find that you really enjoy using OpenBSD.

By all means, give it a spin if for no other reason than to learn about a thing that's out there that a bunch of people enjoy.

If OpenBSD is not for you, that's okay too. I don't think that the user base, developers, or community have ever been looking run campaigns aimed at growing the popularity of the system. For me that's a good thing, the developers seem less prone to chasing the next thing that will expand their share in a market, and are more focused on making a thing they want to use - which translates well for me. YMMV.

Re:OpenBSD 7.0 by drewpc on Thursday October 14, 2021 @09:58AM (#28864267)
Be curious; learn it. Figure out pros/cons for yourself. You'll have more breadth of knowledge, more depth in specific areas, and will likely make better architecture choices in the future because of it.
Re:OpenBSD 7.0 by nix23 on Thursday October 14, 2021 @07:21AM (#28862857)
No why? If your happy an you know it, clap your hands.

But if you want to try out something else, clap your hand and start installing, why?

https://vermaden.wordpress.com/2020/09/07/quare-freebsd/

Re:OpenBSD 7.0 by m4r35n357 on Thursday October 14, 2021 @07:44AM (#28863010)
I use Debian and love OpenBSD.
Re:OpenBSD 7.0 by Koshkin on Thursday October 14, 2021 @04:02PM (#28869245)
This has a rather deep philosophical basis.
Re:OpenBSD 7.0 by hda111 on Thursday October 14, 2021 @04:51PM (#28869911)
Savaged by systemd
Re:OpenBSD 7.0 by fbhabbed on Thursday October 14, 2021 @10:19AM (#28864601)
Definitely try it in a VM first or at least image your Debian drive before going at it. You are going to miss your perfectly working Debian install
Re:OpenBSD 7.0 by UI_at_80x24 on Thursday October 14, 2021 @10:51AM (#28865052)
Easy: text log files, text config files, no systemd.