News for hackers. Stuff that matters.
Re:FreeBSD 13.0 by chungy on Tuesday April 13, 2021 @03:42PM (#26798007)
FreeBSD is such an excellent operating system, I applaud all developers and users that have kept it going all these years.

I've been toying around with it in a virtual machine since 13.0-RC2, in many ways it can feel like a foreign system (compared to my Linux background), but there are a lot of nice things that also make it feel "greener" on the FreeBSD side. It's honestly hard to understate the value of boot environments and the boot loader's capability to swap between them or even roll back to a spool checkpoint. It makes almost all upgrades and system changes risk-free.

Re:FreeBSD 13.0 by yrgulation on Tuesday April 13, 2021 @06:23PM (#26800147)
It has been 15 years since i last used freebsd in a commercial setting. Linux since then. In many ways linux feels alien to me. I still default to “pkg add” in my mind before “apt get”. A shame it didnt gain more traction, as i really loved this OS.
Re:FreeBSD 13.0 by E39M5S62 on Tuesday April 13, 2021 @05:39PM (#26799692)
Take a look at https://github.com/zbm-dev/zfsbootmenu/ . Full boot environment support for Linux, along with the ability to create a new environment from a snapshot in your bootloader, live-diff snapshots to see _when_ something changed, and even chroot into a boot environment to fix things.
Re:FreeBSD 13.0 by Arelius on Tuesday April 13, 2021 @05:36PM (#26799636)
Having come into Linux from FreeBSD, I agree, FreeBSD does feel "greener"
Re:FreeBSD 13.0 by mnd999 on Tuesday April 13, 2021 @05:42PM (#26799721)
As someone who’s done the same (although I’m still using FreeBSD on my NAS) I missed decent documentation the most. I felt most at home on Arch because the wiki is pretty decent.
Re:FreeBSD 13.0 by mvanbaak on Tuesday April 13, 2021 @05:47PM (#26799781)
The man pages on FreeBSD are a lot better than on Linux. And you can read them without network and/or browser.
Re:FreeBSD 13.0 by chungy on Tuesday April 13, 2021 @06:03PM (#26799924)
The Arch Wiki is alright if you run Arch, but I definitely prefer well-written and fully up-to-date manpages from the offset. For starters, it doesn't require me to open a web browser first; it also doesn't depend on me having network connectivity at any particular time.

My take is definitely different from GP: I find FreeBSD to have a much better documentation story compared to Linux (even Arch).

Re:FreeBSD 13.0 by yjftsjthsd-h on Tuesday April 13, 2021 @09:50PM (#26802053)
> The Arch Wiki is alright if you run Arch

No, it's pretty broadly useful; I've used it on at least Ubuntu, Fedora, and centos. It helps that Arch is pretty close to upstream, so docs are usually pretty generic.

I can't disagree about offline docs and the extraordinary quality of BSD manpages, though:)

Re:FreeBSD 13.0 by avhception on Wednesday April 14, 2021 @10:13AM (#26807313)
I've even used the arch wiki when setting up stuff on FreeBSD, because it covers a whole lot of 3rd party software - some of which runs on FreeBSD as well.
Re:FreeBSD 13.0 by jhvkjhk on Wednesday April 14, 2021 @12:48AM (#26803047)
Yeah I see Arch Wiki as Linux Wiki when I’m using Ubuntu.(and Ask Ubuntu as Ask Linux)
Re:FreeBSD 13.0 by xyproto on Wednesday April 14, 2021 @03:59AM (#26804268)
You can read the Arch Linux wiki without a network and a graphical browser too, just:

    pacman -S arch-wiki-docs elinks
    elinks /usr/share/doc/arch-wiki/html/en/Main_page.html
Re:FreeBSD 13.0 by hgamaral on Wednesday April 14, 2021 @07:38AM (#26805662)
I wonder why this doesn't work on Manjaro.
Re:FreeBSD 13.0 by xyproto on Wednesday April 14, 2021 @08:05AM (#26805910)
Because Manjaro is a different Linux distribution from Arch Linux, and have a different selection of packages.
Re:FreeBSD 13.0 by 0ld on Wednesday April 14, 2021 @05:09AM (#26804674)
> without a network

> pacman -S arch-wiki-docs elinks

does pacman install docs and elinks without network?

interesting

Re:FreeBSD 13.0 by 002445 on Wednesday April 14, 2021 @06:48AM (#26805296)
I am sure OP meant to run this once when you have an internet connection after which you will be able to view the docs offline.
Re:FreeBSD 13.0 by xyproto on Wednesday April 14, 2021 @08:08AM (#26805944)
I'm sure you understood what I meant, but if you want to be literal, then yes: you can also install packages with pacman while offline, if you have downloaded the packages first.

This command downloads the packages without installing them:

    pacman -Sw elinks arch-wiki-docs
Re:FreeBSD 13.0 by the_only_law on Tuesday April 13, 2021 @10:05PM (#26802158)
A lot better than other BSDs as well (although I much prefer reading the NetBSD code).

Admittedly, I can’t speak to how it compares to OpenBSD docs as I’ve never really bothered with OpenBSD

DragonflyBSD is cool, but documentation is rough and a lot of it seems to be from old FreeBSD components modified for its speciality. I will say the primary developer is an exceptionally nice person who’s helped me a time or two on the irc.

Re:FreeBSD 13.0 by throw4738 on Tuesday April 13, 2021 @03:54PM (#26798225)
Maybe have a look at OpenSuse, it has rollback as well and feels like traditional Linux.
Re:FreeBSD 13.0 by chungy on Tuesday April 13, 2021 @05:49PM (#26799790)
Last I knew, this requires OpenSUSE on btrfs. It's a pale shadow in functionality compared to ZFS... not to mention stability, too.
Re:FreeBSD 13.0 by catblast01 on Tuesday April 13, 2021 @07:08PM (#26800658)
It has some features that zfs lacks such as a dedup story that is actually usable, plus more flexibility in reshaping. Other than its native raid 5/6 story what major features is it lacking in comparison to zfs? I agree the tooling is trash compared to zfs (zfs command line is a delight by comparison). Also stability wise i haven’t noted problems in years. Not to take anything away from zfs which has proven itself in its particular use cases, but btrfs is alright.
Re:FreeBSD 13.0 by yjftsjthsd-h on Tuesday April 13, 2021 @09:44PM (#26802030)
> Also stability wise i haven’t noted problems in years.

Counter anecdote: I have a laptop (single disk) running opensuse tumbleweed with root on btrfs, and it's managed to completely break its root filesystem twice. One of those times I tried to recover it, but in the end I just reinstalled.

Re:FreeBSD 13.0 by KozmoNau7 on Wednesday April 14, 2021 @03:28AM (#26804049)
Not that I know the exact hardware and circumstances, but in my experience that sounds like a hardware issue, either a buggy controller or a failing disk.

Zfs -with it's similar checksumming and integrity features- would likely have faced similar issues.

Re:FreeBSD 13.0 by yjftsjthsd-h on Wednesday April 14, 2021 @03:07PM (#26811619)
It happened months apart and I never saw it report data errors. It could still be hardware, of course (I haven't tried to run ZFS on the same hardware), but even if it was a hardware fault this isn't an impressive failure mode. Like... what are the odds that a random hardware bug breaks BTRFS metadata in such a way that I can't even mount the filesystem, and never just breaks random files such that I get an isolated read error?
Re:FreeBSD 13.0 by jhoechtl on Wednesday April 14, 2021 @02:33AM (#26803672)
I had such issues like 5 years ago. Since then no issue with a btrfs root fs.
Re:FreeBSD 13.0 by ac29 on Tuesday April 13, 2021 @07:48PM (#26801148)
Agreed, btrfs has been stable for a long time, aside from RAID5/6, which are going to be uncommon on a laptop or desktop computer. Unfortunately, 10 years ago this was definitely not the case, and btrfs hasnt been able to shake off that reputation among some people since then.
Re:FreeBSD 13.0 by loeg on Tuesday April 13, 2021 @09:53PM (#26802077)
> Other than its native raid 5/6 story what major features is it lacking in comparison to zfs?

For example, native at-rest encryption. dm-crypt/luks is adequate, but has significant performance problems[0] on many-core hardware with highly concurrent storage (NVMe) due to excessive queuing and serialization. You can work around these things by editing /etc/crypttab and maybe sysctls.conf, but the default is pretty broken.

[0]: https://blog.cloudflare.com/speeding-up-linux-disk-encryptio...

Re:FreeBSD 13.0 by chungy on Tuesday April 13, 2021 @11:47PM (#26802734)
Per-dataset properties, including different compression policies, exec/noexec, setuid/nosetuid, case-sensitivity, volumes, and snapshots that actually make sense.
Re:FreeBSD 13.0 by LeoPanthera on Tuesday April 13, 2021 @07:11PM (#26800686)
It does have one huge advantage, you can have a deduped btrfs filesystem without using any extra RAM - and you can run the dedupe process "offline" when the system isn't busy, instead of having it run all the time in real time. For many uses, that is an absolute killer feature.
Re:FreeBSD 13.0 by hda111 on Wednesday April 14, 2021 @01:02PM (#26809865)
Ubuntu Desktop has zfs rollback in GRUB for several releases now for root on zfs installs. The only problem is the boot pool will eventually be full after several upgrades :( Needs to much maintenance imho. Are there distributions that do this better out of the box? I’ve read Manjaro does something similar?
Re:FreeBSD 13.0 by nix23 on Tuesday April 13, 2021 @05:50PM (#26799803)
True btrfs is BS, i have XFS with tumbleweed and pretty happy (on the laptop), everything else freebsd all the way..if i can.
Re:FreeBSD 13.0 by nix23 on Tuesday April 13, 2021 @05:49PM (#26799789)
Haha no not really, i have tumbleweed installed on my laptop and love it BUT it's NOT traditional.
Re:FreeBSD 13.0 by yjftsjthsd-h on Tuesday April 13, 2021 @09:51PM (#26802064)
Other than btrfs, what's nontraditional? It's GNU/Linux with glibc and a RPM-based package manager.
Re:FreeBSD 13.0 by petre on Wednesday April 14, 2021 @02:26AM (#26803620)
We use openSuSE Leap in production. It's not traditional in the sense of Ubuntu/Debian but somehow the configuration structure is more sane actually. No more /etc/nginx/modules|sites-available and a plethora of symlinks and conf.d directories spread around all over the place for instace.
Re:FreeBSD 13.0 by nix23 on Wednesday April 14, 2021 @03:44AM (#26804163)
Yast. Please don't get me wrong i LOVE OpenSuse, but traditional is Slackware/Arch/Gentoo/Debian but NOT Suse.
Re:FreeBSD 13.0 by pnutjam on Wednesday April 14, 2021 @01:08PM (#26809943)
You know, you don't have to use yast. It's an option. You can ignore it.
Re:FreeBSD 13.0 by nix23 on Thursday April 15, 2021 @06:13AM (#26818515)
Yes thanks i know that.