New to *BSD, need some help with the differences between Linux and *BSD reddit / BSD ---------------------------------------------------------------------- isaybullshit69 · 2021-05-01 16:03 Some basic background (skip this part if you feel like): I'm thinking of DIY-ing a NAS *and* a backup server and have thought of going with FreeBSD as the OS in both machines due to the excellent ZFS support. And because of that, I've been test driving FreeBSD. I am able to work my way around the CLI but I've been reading people saying, "*BSDs are organized better than Linux distros. Linux distros on the other hand can be more chaotic." (not quoting who said this as don't want someone to bother the person who said this) There are many variations of the same quote, everywhere but I can't seem to understand what someone is trying to say. Does it mean that since there are more linux distros, linux is put put together (in terms of userland) "loosely"? Or does it mean that the kernel is not designed as good as *BSD's? I apologize if you think "This could've been googled easliy", but I'd rather know someone's reasoning of their personal opinions and not read "generalized" opinions online. Also apologies again if I appear "dumb", I know very little in terms of "low level" system software architecture. ---------------------------------------------------------------------- doa70 · 2021-05-01 16:27 Edit: My recollection was clearly off. Removing to hopefully prevent my bad info from being indexed. ---------------------------------------------------------------------- isaybullshit69 · 2021-05-01 16:32 > *BSD is basically a BSD kernel and the GNU utilities. Linux, or arguably more correctly “GNU/Linux” is the Linux kernel and the GNU utilities. Huh? It went over my head. Also, happy cake day mate! ---------------------------------------------------------------------- doa70 · 2021-05-01 16:35 Oh cool, it's my cake day! Thanks! So GNU is a set of utilities - the gcc compiler, C library, bash shell, etc. By itself, the toolset is not a complete operating system. It needs a kernel. That can be Linux, BSD, Hurd, or any other one that someone decides to write. ---------------------------------------------------------------------- isaybullshit69 · 2021-05-01 16:39 I understood that, but you said *BSD = BSD kernel + GNU utils GNU/Linux = Linux + GNU utils What's the difference (except for the obviously different kernel)? ---------------------------------------------------------------------- doa70 · 2021-05-01 16:43 That where the init systems, configuration files, file locations, and overall directory hierarchy differ between systems. Even where the same files exst, the locations may be different (/bin vs /usr/bin, etc). These are minor to adjust to in my opinion, which is why I mentioned kernel differences first. ---------------------------------------------------------------------- rlmaers · 2021-05-01 17:04 > [...] *BSD is basically a BSD kernel and the GNU utilities. No. This is false. None of the BSDs ship with GNU utilities. Furthermore, in addition to having their own set of core utilities, they are (as opposed to Linux and GNU) developed together. For instance, when OpenBSD introduced pledge and unveil, the first programs making use of these new security facilities were the utilities, tools, daemons, etc. that ship with OpenBSD. ---------------------------------------------------------------------- doa70 · 2021-05-01 17:20 I thought that besides the AT&T descendent components that the GNU toolset had been included and possibly replaced some of the original components over the years. Is this not the case for any components of BSD? ---------------------------------------------------------------------- LiamW · 2021-05-01 17:33 Ignore Doa70, he’s confused. BSDs are a whole system developed together. The base system includes all the command line functionality from BSD user land tools (your basic command line tools) in /bin. In Linux, they might include software ported but not necessarily maintained/developed by the Distro team in /bin. FreeBSD will put all these non-core tools in /usr/local/bin. More importantly their config files will be stored in /usr/local/etc. This means the init system and configuration files for the base Operating System is extremely consistent. I always know where to find the package and relayed configurations I need on a BSD system. The BSD core utilities also ship with generally more concistent command line flags (e.g. every programs’ “verbose” output flag is ‘-v’, thus isn’t always the case with Linux tools), as they are developed together as part of the whole system. Linux Distros will include base command line tools that don’t behave this concistently. There’s more technical differences that are above my pay grade regarding the kernel, and releases, but as someone who just needs an Workstation environment and simple EC2 server, FreeBSD works well as the consistency is easier to deal with. ---------------------------------------------------------------------- isaybullshit69 · 2021-05-01 17:36 Understood. Thanks a lot. ---------------------------------------------------------------------- rlmaers · 2021-05-01 17:41 No, not core utilities at least. The only exception I'm aware of is gcc, which has been replaced by llvm in at least FreeBSD and OpenBSD for amd64. ---------------------------------------------------------------------- beowuff · 2021-05-01 21:02 Another way to think about it is their history. The BSDs started out as patches and fixes to AT&Ts Unix. Eventually, they replaced the entire system with new code. So, the BSDs are direct decedents of Unix. Linux was created to mimic Unix because Linus Torvalds couldn’t afford Unix. Linux is not a direct descendent. Linus created a kernel to be similar to Unix, but he did not replace the code in the same way as the BSDs were developed. At the same time, the Gnu project was developing a similar set of tools to Unix and BSDs. But, their kernel, Hurd, was not nearly ready. So, they both agreed to combine the Linux kernel with the gnu utilities to make a usable system. From this, you can see how the BSDs are complete systems made up of a kernel and tools. Whereas the Linux distros are the Linux kernel with the separately developed Gnu utilities added. ---------------------------------------------------------------------- LiamW · 2021-05-01 21:53 To add to this, some Linux distros don't use GNU utilities, such as Android, systems using busybox (routers, embedded devices, etc. DD- WRT is a good example). Linux utilities tend to be more fragmented (not substantially so, but less consistent). There's multiple network interface tools, while BSD systems add functionality / update a standard one. There's "drift" away from the core utils in BSDs. ---------------------------------------------------------------------- notaplumber · 2021-05-01 23:46 You are very confused. None of the BSDs use GNU libc, or include bash. They have their own C libraries, their own POSIX userland utilities, most of which date back to the 70s/80's. Please educate yourself on BSD history, there are plenty of resources out there. ---------------------------------------------------------------------- notaplumber · 2021-05-01 23:49 No. GNU core utilities are not a part of BSD, never have been. ---------------------------------------------------------------------- doa70 · 2021-05-01 23:59 Sad to say I was there for the “history” part. I still use a few BSD variants occasionally. I did think the gnu stack had been adopted at some point. Thanks for setting me straight! ---------------------------------------------------------------------- vermaden · 2021-05-02 09:39 >I'm thinking of DIY-ing a NAS *and* a backup server and have thought of going with FreeBSD as the OS in both machines due to the excellent ZFS support. Not sure if it will help You but here is my attempt at building NAS with FreeBSD as OS: [https://vermaden.wordpress.com/2019/04/03/silent-fanless-freebsd- server-redundant- backup/](https://vermaden.wordpress.com/2019/04/03/silent-fanless- freebsd-server-redundant-backup/) ---------------------------------------------------------------------- vgk8931 · 2021-05-04 20:47 These 10 pages should answer your question in much detail and clarity. [https://www.over- yonder.net/\~fullermd/rants/bsd4linux/01](https://www.over- yonder.net/~fullermd/rants/bsd4linux/01) ---------------------------------------------------------------------- isaybullshit69 · 2021-05-05 04:28 Never been a "reader" until I started reading this. :") Thank you ---------------------------------------------------------------------- XqKBOoQdTaxx · 2021-05-06 00:09 No offense for any, but some BSD community famous for being rude with newbies. And I can understand them totally. This questions just come up every second week. Which bsd, what are the diferences of bsd, bsd vs linux etc. First, if you interested people opinion here, you can check previous talks on r/BSD there are a tonne. Other suggestions, do not try to find the difference, but the specs of each, so you can compare by yourself. Your question is not dumb, just lazy. If your knowledge is short on low level of sys arch, do you expect people will teach you in reddit comments? I don't mean to be personal, just want to clarify, only you know your level of knowledge, so it's hard to answer your questions for others on the same level. And any level of knowledge you have, there are bsd handbooks and manuals pretty well documented. You can read the parts you interested about. Really don't want to be rude, hope my words not offensive for you. If you don't want to spend time on research the specs of different systems (which really not necessary btw), Just use it since it's works for you, and with time you will just learn by each small pieces what are the differences (which important for you). I am not a user of bsd right now, but I am amazed about OpenBSD, or some features of FreeBSD and just waiting for having time to play a little with any of those in some home project. ---------------------------------------------------------------------- isaybullshit69 · 2021-05-06 01:06 I totally understand what you're trying to say. And to be honest, I don't expect anyone to teach me on reddit, I posted this just to know the individual's personal opinion so I get a better idea to research on that particular topic. :") Also, you don't appear to be rude. I always appreciate genuine advice. ---------------------------------------------------------------------- XqKBOoQdTaxx · 2021-05-06 07:04 I would say, just use it. zfs -as far as I know- best supported on fbsd, at least as a free OS. You want to use zfs. End of story. As opinion, I think *bsds has a closer group of developers for the whole system, so the development may more focused and sometimes slower as well, but going like one direction rather then linux. Sure both communities and developments has questions and disagreements. btw, if you want to learn about openbsd, set up a new homepage in your browser :D : https://why-openbsd.rocks/ ---------------------------------------------------------------------- isaybullshit69 · 2021-05-06 08:09 > https://why-openbsd.rocks/ I love this, thank you! ---------------------------------------------------------------------- freepackets · 2021-05-07 09:47 You can try to take a look at the source code of ls from *BSD and core-utilities from the GNU web site. ---------------------------------------------------------------------- freepackets · 2021-05-07 09:49 My personal experiences would be go for Linux. There are tones of recipes in the internet. The hardware compatibilities is relatively better than the BSD's.