News for hackers. Stuff that matters.
Re:Ask HN: Can we talk about FreeBSD vs. Linux? by laumars on Sunday November 23, 2014 @06:40PM (#8650388)
I run FreeBSD with ZFS as root and it doesn't suffer from those issues. But then ZFS is quite significantly more mature than Btrfs anyway.

It's also worth noting that ZFS has been available as a root file system long before FreeBSD added ZFS to RELEASE. I remember running OpenSolaris (and some of it's forks, eg Nexenta) with ZFS root about 6 years ago. Possibly longer actually.

The issue with ZFS as root was more of a problem with the boot menu than the OS. OpenSolaris used GRUB where as FreeBSD obviously doesn't, so FreeBSD needs to either port their ZFS drivers to their bootloader, or employ a hacky method of having a UFS boot volume that then points to a ZFS root partition (which, sadly, is how FreeBSD currently works).

Interestingly, since GRUB is GPL, it meant that technically there were GPL ZFS drivers even before Btrfs started life (never mind the various Linux ports of CDDL-licenced ZFS drivers that have appeared since). Albeit those GPL ZFS drivers were read only

Re:Ask HN: Can we talk about FreeBSD vs. Linux? by Freaky on Monday November 24, 2014 @10:41AM (#8652845)
> FreeBSD needs to either port their ZFS drivers to their bootloader, or employ a hacky method of having a UFS boot volume that then points to a ZFS root partition (which, sadly, is how FreeBSD currently works).

A ZFS-aware loader hit CURRENT in late 2008, and a dedicated zfsloader for use from (gpt)zfsboot hit the stable branches in late 2009.

Re:Ask HN: Can we talk about FreeBSD vs. Linux? by laumars on Monday November 24, 2014 @12:36PM (#8653469)
AFAIK it's not in RELEASE yet though.
Re:Ask HN: Can we talk about FreeBSD vs. Linux? by Freaky on Monday November 24, 2014 @12:41PM (#8653504)
They were in 7.3-RELEASE, March 2010.

https://www.freebsd.org/releases/7.3R/announce.html

Re:Ask HN: Can we talk about FreeBSD vs. Linux? by laumars on Monday November 24, 2014 @01:06PM (#8653658)
Just looked at the config on my file server and it turns out I'm booting FreeBSD in this way. I have no idea why I thought I was bootstrapping from UFS (possibly because I still had to manually create a boot GPT partition and since forgotten why?)

Anyhow, thank you for the correction :)