Looking a BSD to explore and work with after Arch Gnu/Linux reddit / BSD ---------------------------------------------------------------------- Suspicious-Slip3494 · 2020-12-29 23:46 Greetings Mates, I have been using Arch for the past 5 years and I am quite good with it. I just had that itch for exploring something new. I am not planning on switching BSD to my daily drive(not yet). The core of my question is: For an Arch Linux user, what would be a suitable BSD? I prefer it to be as minimal as possible while providing reasonable security and good performance. And whatever it could run WINE or PlayOnLinux is important. I like to code(in Shell scripting and Rust), I like to write scientific documents and thesis with Markdown. and any scientific/mathematical software would be much appreciated. final question: Why is FreeBSD hated this much? Is it like the Ubuntu of BSDs? Thanks in advance! EDIT: I just have to say that Linux's and BSD's forums are the nicest and the most helpful. Windows's are the most slouch. And MacOS's are the most jackass. ---------------------------------------------------------------------- LinuxLeafFan · 2020-12-30 00:10 FreeBSD isn’t hated. It’s just not a great desktop out of the box. As for what BSD to use, I’d suggest giving them each a spin and see what you like. ---------------------------------------------------------------------- Suspicious-Slip3494 · 2020-12-30 00:16 Guess I will start with FreeBSD then. Thanks! ---------------------------------------------------------------------- dagit · 2020-12-30 00:50 I think that especially makes sense if you plan to use rust. I keep a bsd machine around for stuff and initially I tired openbsd but it didn’t support my hardware fully and I had trouble getting going with rust on there. I switched to free bsd and it solved both issues for me. ---------------------------------------------------------------------- Suspicious-Slip3494 · 2020-12-30 00:56 Thanks for letting me know! What do you think about NetBSD and FuryBSD or GhostBSD? ---------------------------------------------------------------------- dagit · 2020-12-30 01:07 I don’t know anything about them to be honest. ---------------------------------------------------------------------- [deleted] · 2020-12-30 01:25 [deleted] ---------------------------------------------------------------------- crocflamingo · 2020-12-30 01:31 > I prefer it to be as minimal as possible while providing reasonable security and good performance Alright so, Openbsd is prolly the closest you will get(is actually minimal and has good security, unlike freebsd). BSD just isn't right for you if you want good desktop performance (the server performance is decent, but many desktop applications are slow as shit). > final question: Why is FreeBSD hated this much? Is it like the Ubuntu of BSDs? Freebsd has a cucked code of conduct, is run by corporations, is basically just an os to build proprietary appliances, every innovation in the last decade comes from Solaris, and has basically no exploit mitigation what so ever Alright it sounds like I hate BSD in this comment, but I don't. I use openbsd as a server os and love it, but I really haven't had good experiences with freebsd(especially for desktop) ---------------------------------------------------------------------- pacmanlives · 2020-12-30 01:36 If your an Arch user. You will take like a fish to water with FreeBSD. You should do fine getting everything setup. Biggest adjustment if switching to sysinit-v from systemd. /etc/rc.conf is your startup file and all software installed that is not in the base OS goes to /usr/local ---------------------------------------------------------------------- Grammar-Bot-Elite · 2020-12-30 01:36 /u/pacmanlives, I have found an error in your comment: > “If ~~your~~ [**you're**] an Arch” I declare the post of you, pacmanlives, erroneous; it should read “If ~~your~~ [**you're**] an Arch” instead. ‘Your’ is possessive; ‘you're’ means ‘you are’. ^(This is an automated bot. I do not intend to shame your mistakes. If you think the errors which I found are incorrect, please contact me through DMs or contact my owner EliteDaMyth!) ---------------------------------------------------------------------- edo-lag · 2020-12-30 01:40 I was coming from Arch Linux (still using) as well and I'll switch to FreeBSD whenever I'll be able to, because it's the one most suitable for me. However, it really depends on what you're searching for. I guess that the main points that all the *BSD users share are those: **FreeBSD**: Performance is the real key of this OS, it's installed on some of the busiest servers including Netflix. It's also the one which has most software available to download (among the BSDs) from either `pkg` (which can be pretty much compared to pacman as it downloads the binaries) or by using `ports` (which can be compared to AUR as they provide the source code which you will manually build but don't worry, you just need 2 commands to do so and they are the same for every port). This OS also offers the compatibility with Windows® and Linux® binaries (for Windows you need Wine whereas for Linux it's a bit different since it has to do with the FreeBSD kernel). More info [here](https://www.freebsd.org/about.html). Footnote for `pkg`: when you use it to install software on your pc (aka running `pkg install <...>`) all what it does is to download the binaries that you need (dependencies included) and place them in the right places. IT DOES NOT EXECUTE ANY SCRIPT AND YOU WILL HAVE TO MANUALLY DO THE CHANGES IF NEEDED. However, most packages don't require much effort from the user side so don't get too scared of it. **OpenBSD**: Security is the key of this OS, it implements a lot of security measures out of the box. Honestly I don't know much of this one so I'll just link [the website](https://www.openbsd.org/). **NetBSD**: This OS can run on everything, it's famous for being compatible with a lot of CPU architectures (maybe even your toaster can run in, jk). The developers of this OS also care a lot about the code philosophy. See [its website](http://netbsd.org/about/) for more info. I hope to have been clear. Hmu if you have any question. ---------------------------------------------------------------------- Suspicious-Slip3494 · 2020-12-30 02:08 I just have to say that Linux's and BSD's forums are the nicest and the most helpful. Windows's are the most slouch. And MacOS's are the most jackass. I have decided to go with Freebsd then wait until NetBSD gets WINE ported to it. I will close this thread now. Everyone was helpful and Nice! Thanks to all ---------------------------------------------------------------------- ctisred · 2020-12-30 02:25 >sysinit-v from systemd freebsd doesn't use sysv init (and never did - this is part of the whole 'System-V vs BSD UNIX' thing) -- it uses it's own flavor of 'rc', which is originally from research unix, and through the CSRG era, and beyond was just a straight shell script that the system ran on boot up, later revamped into 'rcNG' by the netbsd folks. see also: [https://minnie.tuhs.org/cgi- bin/utree.pl?file=V5/etc](https://minnie.tuhs.org/cgi- bin/utree.pl?file=V5/etc) : V5 unix from 1974 (V5 not Sys-V) [https://svnweb.freebsd.org/base/head/etc/rc?view=markup&pathrev=38](h ttps://svnweb.freebsd.org/base/head/etc/rc?view=markup&pathrev=38) : original FreeBSD copy of 386BSD/4.4BSD from early 90's docs+history about current system: [https://www.freebsd.org/doc/en/articles/rc- scripting/](https://www.freebsd.org/doc/en/articles/rc-scripting/) don't mean to be annoying; just the rcNG lineage is often lost when people are talking about "systemd vs System-V" -style init systems. OpenRC (of gentoo and others) is basically the shell script portion of rcNG running under a different (non-BSD derived) /sbin/init binary (not 100% which) ---------------------------------------------------------------------- edo-lag · 2020-12-30 02:31 You're welcome! I hope you'll like the more UNIX-ish way in which BSDs work and... Have fun in your journey through FreeBSD :) Some more warnings and advices: 1. Get rid of all the Electron-based programs you have since FreeBSD is not officially supported by Electron (yet; the FreeBSD community is porting it). If they are required by your University or company I suppose that you may give a try to the unofficial Electron ports or just use a Linux VM. 2. You cannot watch Netflix with FreeBSD due to missing DRM. Again, you may try a Linux VM. 3. (I will edit the comment if something more comes to my mind) ---------------------------------------------------------------------- [deleted] · 2020-12-30 04:02 OpenBSD needs serious tweaking to be a performant desktop OS but it works great once the work is done. I use it for everything except one Artix Linux gaming PC. It runs my servers, laptops, and main programming workstation. And you’re spot on about FreeBSD, couldn’t have put it better. ---------------------------------------------------------------------- craftkiller · 2020-12-30 04:53 FreeBSD isn't like the ubuntu of BSD, it's like the debian of BSD. I'd say GhostBSD is the ubuntu of BSD, though helloSystem might become a contender for that throne. I am an Arch Linux and FreeBSD user and I'd say they're a pretty similar style. I'd say FreeBSD disappoints me a little in how not minimal it is. Don't get me wrong, it's not a heavy operating system but, for example, there's this thing called "periodic" which is like a second type of crontab and it's enabled by default (it's called from /etc/crontab) and there's a mail transfer agent enabled by default. They're easy enough to disable when you know about them, but I much prefer the Arch style of having almost nothing and you build your system up from there. That said, you're in for a real treat: - Jails are better than Linux light containers - ZFS is natively integrated into the OS and is better than any filesystem on Linux (including zfs on Linux, I've always run into issues with zfs on Linux but never on FreeBSD) - after using pf on FreeBSD, using iptables on Linux makes me want to walk into the ocean - poudriere is better than any aur helper I've used, including aurutils - bsdtar is better than gnu tar (SIGNIFICANTLY more formats supported) but you could always install bsdtar on Arch so that's not as big of a deal. - The man pages are better than on Linux - libxo, there really isn't an equivalent in Linux - you can hit ctrl+T in the middle of many commands to get a status update on their progress. For example, this existed before dd added status=progress Some things that are worse: - The FreeBSD handbook is not as good as the arch wiki. Loads of FreeBSD users swear by the FreeBSD handbook but as a user of both I can say my strong preference is for the arch wiki - You will miss a lot of features of systemd. I'm avoiding calling one init system better than the other because it's a preference/design choice but personally I wish FreeBSD's init system had process monitoring by cgroup (FreeBSD would likely have to use jails) so you keep track of processes even if they demonize themselves without resorting to something flawed like pid files and automatic capturing of stdout/stderr into some sort of log system (journald on Linux syslog on FreeBSD). You can approximate those features by calling a program called "daemon" which can do process monitoring with pid files and output redirection to syslog but most services don't use it whereas having those features integrated into the init system makes them universally available on Linux. - The operating system on FreeBSD isn't a package. There is work underway to make it a package but currently those files aren't controlled by the package manager. This means there's a whole separate process for updating the operating system involving different tools. It's nice to have the OS update separately from the installed software since that makes it easy to avoid needing to reboot your server when you just wanted to update nginx, but that can be accomplished by just having a special flag in the package manager for updating the OS package. - FreeBSD boots slower Some things that may surprise you because they're not immediately obvious: - CURRENT is their bleeding edge development branch which also has many debugging features enable that slow it down. If you're looking for performance make sure you're using a RELEASE version or learn to disable those debugging features in CURRENT - the "watch" command on FreeBSD is **nothing** like the watch command on Linux - the shell you first land in is not bash, but you can install bash or zsh or whatever ---------------------------------------------------------------------- edo-lag · 2020-12-30 09:57 Why do you say that FreeBSD doesn't have good security and has a cucked code of conduct? ---------------------------------------------------------------------- nahnah2017 · 2020-12-30 11:44 Well, it's not a desktop out of the box at all. It needs to be installed separately. ---------------------------------------------------------------------- nahnah2017 · 2020-12-30 11:45 FuryBSD is dead. GhostBSD is pre-configured FreeBSD. The problem with using Ghost is that it can go the way of Fury. Just install FreeBSD and install the packages you want to use and you don't have to worry about that. ---------------------------------------------------------------------- anthk_ · 2020-12-30 12:39 You can use FreeBSD's Linux emulation and run Chrome/Chromium with Widevine just fine. HBO worked I think. ---------------------------------------------------------------------- anthk_ · 2020-12-30 12:40 >OpenBSD needs serious tweaking to be a performant desktop OS but it works great once the work is done. From 6.5->6.8 there's been a huge improvement on that. ---------------------------------------------------------------------- edo-lag · 2020-12-30 13:00 I didn't know that... Does it work with Netflix as well? ---------------------------------------------------------------------- anthk_ · 2020-12-30 14:36 https://benisnous.com/brave-browser-running-on-freebsd-12-1-using- linuxulator-centos-7-netflix-works/ ---------------------------------------------------------------------- joscher123 · 2020-12-30 14:46 Didn't FreeBSD get rid of that toxic CoC and now has a more generic "be nice" one? ---------------------------------------------------------------------- crocflamingo · 2020-12-30 15:35 Yeah true, neither CoC are ideal, but the newer one is way way better than the old one. At least freebsd has a way way better CoC than GNOME has ---------------------------------------------------------------------- pacmanlives · 2020-12-30 16:38 Thanks dude! I had no idea about this history! I always wrongly thought it was system-v for a very long time. I have been rolling FreeBSD since 5. Which was a tough time in the history of FreeBSD expecially since 4 was so good and stable at the time ---------------------------------------------------------------------- [deleted] · 2020-12-30 17:48 Indeed. The OS runs great as a daily driver ---------------------------------------------------------------------- unveil2 · 2020-12-30 18:20 I use OpenBSD. Never got my GPU running on FreeBSD where it worked immediately on OpenBSD ---------------------------------------------------------------------- mtemmerm · 2020-12-30 21:49 My vote goes to OpenBSD. Forget the wine/linux support though. Other than that, it does everything you need. ---------------------------------------------------------------------- snk · 2020-12-31 02:13 re: the security comment: There is a general sentiment that FreeBSD focuses on performance over security (especially when compared to something like OpenBSD where changes are sometimes made to improve security, even if it comes at a performance cost). There's also a class of security features surrounding memory address space randomization, which helps protect your system from certain types of attacks. FreeBSD notably lacks these features, though they are being worked on. Many consider this problematic, since most other OSes have had these features for years now. To give you an idea of security improvements that *could* be made to FreeBSD, but haven't made it into the base system yet, you can look at the HardenedBSD project's feature comparison: [https://hardenedbsd.org/content/easy- feature-comparison](https://hardenedbsd.org/content/easy-feature- comparison) That being said, having those features would improve FreeBSD's overall security stance, but it wouldn't change what you still need to do to keep your system secure. Keep it patched, don't open ports you don't need opened, keep your file permissions tidy, etc. FreeBSD can be made very secure (see the `security(7)` man page), but there's work involved, and a bunch of mitigations are missing or not on by default which is where some of this criticism comes from. ---------------------------------------------------------------------- edo-lag · 2020-12-31 03:46 So to sum up FreeBSD is overall a good OS but lacks some (even kinda basic) security features that other comparable operating systems have had for years. But the FreeBSD Project developers are working to improve the OS security and will eventually release fixes for the missing things. This is what you meant, right? ---------------------------------------------------------------------- snk · 2020-12-31 12:28 Yes, I think that’s the gist. Not all the improvements in the hardenedbsd comparison are in progress, but the one I mentioned is seeing development (https://wiki.freebsd.org/ASLR). I think FreeBSD is a serviceable OS (and it’s in use in mission critical environments at many large companies), it’s just good to be aware of some of these mitigations being implemented differently, missing, or off by default. ---------------------------------------------------------------------- NitroNilz · 2020-12-31 12:40 I run Ghost on my main, modern laptop (OpenBSD w/ CWM on my ancient IBM T42) and it's a great system OOTB, but would prefer something that can switch back to FreeBSD easily. Like FuryBSD could. GhostBSD has a few differences (like OpenRC init and enough to need it's own packages and ports tweaks). I don't believe it will die soon. It's a long running release and the creator is open about it on Telegram. NomadBSD is a preconfigured FreeBSD desktop I also recommend. For NetBSD there is OS108 shift is desktop ready. I've not tried NetBSD yet. ---------------------------------------------------------------------- Grammar-Bot-Elite · 2020-12-31 12:40 /u/NitroNilz, I have found an error in your comment: > “need ~~it's~~ [**its**] own packages” You, NitroNilz, have created a solecism and ought to have typed “need ~~it's~~ [**its**] own packages” instead. ‘It's’ means ‘it is’ or ‘it has’, but ‘its’ is possessive. ^(This is an automated bot. I do not intend to shame your mistakes. If you think the errors which I found are incorrect, please contact me through DMs or contact my owner EliteDaMyth!) ---------------------------------------------------------------------- NitroNilz · 2020-12-31 12:47 HelloSystem is very interesting. Made by the AppImage developer. Also, well made post :) ---------------------------------------------------------------------- craftkiller · 2020-12-31 15:00 Thanks! ---------------------------------------------------------------------- sehnsuchtbsd · 2021-01-07 07:55 > I have decided to go with Freebsd then wait until NetBSD gets WINE ported to it. Wine already works on NetBSD, see [emulators/wine](https://pkgsrc.se/emulators/wine) + [wip/win64](https://pkgsrc.se/wip/wine64) for WoW64 support (as well as [this netbsd blog post](https://blog.netbsd.org/tnf/entry/porting_wine_to_amd64_on2) to learn how to get it working properly. Finally, here's a really good tutorial on [Running Wine in a 32-bit sandbox on 64-bit NetBSD](https://washbear.neocities.org/wine-sandbox.html) using sandboxctl ---------------------------------------------------------------------- NitroNilz · 2021-01-21 02:30 Quick! RoboNuggie just released a video on HelloSystem on YouTube: https://www.youtube.com/watch?v=Ah8xZ1N68Vo&t=461 ---------------------------------------------------------------------- NitroNilz · 2021-01-21 02:32 That's the spirit - I love you! Its great to correct people (←)! #GrammarPolice