Hacker News new | ask | show | jobs
by toast0 814 days ago
Arguably, macOS is a BSD variant. Much of the userspace UNIX utilities and a lot of the networking stack were forked from FreeBSD. Although it's not the nicest showing, because Apple doesn't pull updates very frequently; a two decade old TCP stack has a lot of issues, Apple added MPTCP and nice PMTUD, but doesn't have SYN cookies, so I wouldn't run a public server with it.

Maybe you can find a BSD shell account somewhere? But otherwise, yeah, you need to run a BSD to experience it. How woulr you experience Linux without a Linux machine? There's live cds and virtual machine images and what nots for BSDs too.

I can't say if its worth your time or not. Not a lot of companies run production on FreeBSD anymore, unfortunately. Yahoo was midway through switching when I left, WhatsApp was almost done when I left. I'm happier running FreeBSD on my personal equipment than I was with Debian, but that makes it worthwhile for me, not you. Switching OSes is a long process and living in multiple OSes at the same time isn't easy. I use Linux for work, so I have to go back and forth between ifconfig on my home boxes and production Linux, but ip addr on my dev box. And sometimes netstat and sometimes ss, etc. It'd be nicer if everything was consistent and didn't change for what seems like the sake of change, but it is what it is.

1 comments

macOS is a fair candidate. Second hand Mac can be cheap, esp Intel-based. Hackintosh / VM is also a candidate.

OPNsense, PFsense, TrueNAS, Sony Playstation, Nintendo Switch, Juniper, Ruckus/Brocade, ...

Give OPNsense (in a VM) a whirl as replacement for OpenWrt. I like it a lot.

> I use Linux for work, so I have to go back and forth between ifconfig on my home boxes and production Linux, but ip addr on my dev box. And sometimes netstat and sometimes ss, etc. It'd be nicer if everything was consistent and didn't change for what seems like the sake of change, but it is what it is.

macOS/Linux users might like this wrapper [1]. I don't know one for ss/netstat though.

[1] https://github.com/brona/iproute2mac

Saying the Nintendo Switch is BSD based is a bit of a stretch, Horizon (the Nintendo Switch operating system) runs a proprietary, fully custom microkernel and has some utilities from both FreeBSD and Android.

> Despite popular misconceptions to the contrary, Horizon is not largely derived from FreeBSD code, nor from Android, although the software licence[14] and reverse engineering efforts[15][16] have revealed that Nintendo does use some code from both in some system services and drivers. For example, the networking stack in the Switch OS is derived at least in part from FreeBSD code.[15] Nintendo's use of FreeBSD networking code is legal as it is made available under the permissive BSD licence, and not even particularly unusual – for instance, the Microsoft Windows XP TCP/IP stack was originally derived from BSD code in a similar fashion.

https://en.wikipedia.org/wiki/Nintendo_Switch_system_softwar...

Apple Time Capsule used to run on NetBSD as well.

Unfortunately TrueNAS will move to Linux. At least TrueNAS Scale, based on Linux which going forward will be what they are focusing on.

The land of FreeBSD or BSDs are rapidly shrinking.