Live data from Hacker News

Why I love FreeBSD

it-notes.dragas.net

201–210 of 270 posts

Re: Why I love FreeBSD

#201

Earlier quoted context omitted.

btrfs is suffering from a lot of old bad publicity and some poor design decisions around RAID. But by now it is a great file system if you don't go near RAID5/6. btrfs has its flaws (ZFS has its own flaws!). However: - It's used a lot, especially by facebook and Redhat (on fedora) - Gets a lot of testing - Sees a lot of bug fixes - Has a lot of features I haven't read btrfs code but given that it is a popular file sy…

btrfs is pathetic when it comes to performance. So no, thanks. https://www.phoronix.com/review/linux-70-filesystems

ZFS is worse than btrfs in performance.

Check out https://www.phoronix.com/review/linux-617-filesystems/5 "Geometric Mean of all test results". You will find that OpenZFS is ~35% slower than btrfs.

I love ZFS but I am aware about the performance it delivers.

Re: Why I love FreeBSD

#202

Earlier quoted context omitted.

> … stable … about every 6 months. Maybe slightly optimistic. https://bokut.in/freebsd-patch-level-table/#stable/13 https://bokut.in/freebsd-patch-level-table/#stable/14 https://bokut.in/freebsd-patch-level-table/#stable/15

>> … stable … about every 6 months. > Maybe slightly optimistic. The longest without rebooting two prod FreeBSD servers I was once responsible for, including applying userland patches, was roughly 3000 days (just over 8 years).

My DigitalOcean FreeBSD droplet chugging along: 7:25AM up 1707 days, 15 hrs, 5 users, load averages: 0.30, 0.21, 0.17

Too bad they dropped support for it.

Re: Why I love FreeBSD

#203
post #27

Earlier quoted context omitted.

Cohesiveness. Gnome was born out from GNU and today it's just RedHatware, and overtime you will only get a RedHat/Flatpak/Wayland OS with no alternatives but brainless Pacman repacks over and over as they will provide near nothing against some Fedora Silverblue install. And, yes, overtime all Fedoras will be Silverblue rebases with different desktops, toolbox + RPMs for concurrent development environments (if any, as…

> GNU+Lisp lovers would support their own desktop and packing layer and Hurd maybe running Linux kernel drivers (the libre ones) on top free from IBM/Microsoft hands. Then why DON'T they? Probably because in most cases they have more holier-than-thou attitude than actual technical chops. Otherwise it'd be done and dusted by now, and this imaginary 0.01% community would have taken the GNU/Linux world by storm! Instead…

They are basically helping Hurd and there already is an instalable Guix image. GNU+Linux was just a temporarary patch and it shows.

>This is comedy gold

Ok, where's the Unix support from Ken, Ritchie and so? Are you aware that most of research on that area flew away to Plan9 and Inferno being fed up of X11, virtual terminals from the 70's (rio+rc it's far superior), ioctl's, a hard as hell network stack, POSIX, a shell where you have both aliases and functions? The list of quirks it's huge. Plan9 tried to solve everything you read in Unix Haters Handbook. walk(1) + grep(1) solved the complexity of find(1). No one it's bound to terminal emulators where the VT100 frames break cut and paste. You don't have to write 20 lines of code just to start a connection against X or a socket. Yet people praised that obsolete technology. It's madness.

Everyone tought the same about DOS and Win9x vs Windows 2000 and XP. Where is DOS now? On legacy industry machines and hobbyist Freedos Machines. No one cares about Win9x anymore except for retrogaming. Most of the people working for the Win32 API migrated to C# for a good chunk of custom appliances for companies, leaving out complex low-level C++ code for game engines, drivers and the like.

Think whatever you want, but Unix compared to the clean Plan9/9front design it's like praising the Windows ME disaster when the NT based OSes are many more times more advanced.

Entreprise world? People are getting fed up of containers and tons of dependencies for NPM, JS_change_of_the_day, tons of unoptimized setups just spawning new machines in a cloud grid over and over and the like making most of the efforts today focused on deploying technologies instead of technologies themselves which are the ones doing the actual work there.

Re: Why I love FreeBSD

#205

Earlier quoted context omitted.

ZFS on FreeBSD is first class. I had an old FreeNAS raid z5 array on 5x 500GB disks that I wanted to check 4 years after decommissioning the system. I put together a temporary machine with all the disks plugged in and without doing anything the live FreeBSD image found and configured the array. I was instantly able to look through the file system and even dump it to my current FreeBSD server with almost 0 effort. I w…

Right. On my development workstation I use Arch and I'm always worried a kernel upgrade is going to break the ZFS module. For those that aren't familiar, ZFS isn't part of mainline Linux because of licensing incompatibility (and general distrust of Oracle). On FreeBSD I know its always going to work.

>I use Arch and I'm always worried a kernel upgrade is going to break the ZFS modulet

That can only happen if you use the unreliable DKMS way of installing it. If you use zfs-linux provided by archzfs it will only allow updating if it's compatible with the kernel, which in linux-lts case is within couple hours of a kernel update.

https://github.com/archzfs/archzfs https://wiki.archlinux.org/title/ZFS#Kernel-specific_package...

Re: Why I love FreeBSD

#206
post #77

Earlier quoted context omitted.

> Is there anything FreeBSD can do that, say, Debian cannot? If you asked the opposite (what can Debian do that FreeBSD cannot) I would have more to say and it would mostly be preceded by "I know FreeBSD is not Linux but ...". Whenever I need to do any sort of maintenance or inspection I have to look up the equivalent commands for things like `lsblk` and something nested in `/usr/etc/...` when I'm used to finding it…

Lack of docker support? Docker is available on macOS through emulation yes but bhyve is a thing… so why not? :-)

Podman is a viable option. I'm not sure how it works but I was able to run Alpine and Debian containers by setting a few system flags.

Re: Why I love FreeBSD

#207
post #142

Earlier quoted context omitted.

Rule of thumb, its not. Common stuff like address randomization is a recent default, afaik still doesnt have random process ids, and the base permissions arent stellar. However I would prefer jails any day of the week vs the clusterf** that are namespaces and cgroups.

How many remotely exploitable zero days has FreeBSD had in its init system this decade? SystemD has to be in the dozens at this point.

Right, because linux security == init system used by some distros. My experience with FreeBSD may be somewhat dated (I've used it since the 4.x days, provided commercial support for it for more than 15 years), an that is not my experience - at all. Obviously, it depends on the threat model you are considering and how far you want to go. The default install does not have (or had) sane security defaults, at least comparing to your random $ystemd linux distro; try installing both and give local shell to a red team and see how fast they get root access.

Re: Why I love FreeBSD

#208
post #77

Earlier quoted context omitted.

Lack of docker support? Docker is available on macOS through emulation yes but bhyve is a thing… so why not? :-)

Podman is a viable option. I'm not sure how it works but I was able to run Alpine and Debian containers by setting a few system flags.

That’s very good to know. Thanks!

Re: Why I love FreeBSD

#209
post #141

Ok, where are the companies using FreeBSD? How do you get hired if you do happen to have proper FreeBSD skills? It's notably absent from all the job listings.

Playstation is based on FreeBSD, so I would guess that Sony has some serious FreeBSD people working there who created one of the most popular a video game console - that's pretty cool

Re: Why I love FreeBSD

#210
post #18

My home server has been running FreeBSD for ten years now, and it has never let me down. Except for one time I got fresh with /dev/speaker and triggered a spontaneous reboot (I don't know if it's FreeBSD's fault or the hardware, though). I delayed upgrading to 15.0 after it was released, but last weekend I finally did it, and it left me wondering why I hadn't done it sooner, because it went quickly and smoothly. Is t…

How is it at running something like microk8s? Also do you have to build your own binaries for anything not in the distro?
Post reply on HN