Does it worth learn BSD for a computer engineering student? reddit / BSD ---------------------------------------------------------------------- segmentationfrault · 2018-01-27 14:30 Hello everybody, I am a computer engineering student and I am using Linux for a couple of years. At the moment I am looking for something to learn and by the way I have a Mac, could be interesting to learn BSD. Do you think that it worth to learn a new OS? Which distro would you suggest me to start cause I've seen that there are not so small differences between various BSD distros? Thanks in advance. ---------------------------------------------------------------------- jaypatelani · 2018-01-27 14:35 It's worth knowing all BSDs and their differences.. I would suggest you pick project and try to replicate it on all BSDs you will learn a thing or two ---------------------------------------------------------------------- ScrambledAuroras · 2018-01-27 14:39 It's worth learning BSD as a side thing honestly. It will and is barely going to be used in the commercial embedded sector for proprietary SoCs. The Nintendo Switch uses it. iOS devices and Macs use a BSD-based userland. Basically things that are for commercial purposes and need lockdown might be using BSD or some embedded in-house Linux distro. ---------------------------------------------------------------------- segmentationfrault · 2018-01-27 14:51 From which distro should I start in your opinion? ---------------------------------------------------------------------- DevNull007 · 2018-01-27 14:56 There are no BSD distros because each one developed their own coreutils, kernel, etc. OpenBSD is the best from a security standpoint. Theo, the main dev, is genius. It's also got real man pages rather than just lists of CLI switches that so many Linux distros have. FreeBSD is the best if you don't care about code bloat or attack surface but want to try out wickedly cool new tech like ZFS and have 10Gb Ethernet. Edit: I'm a EE in a pretty good program, and I've gotta mention that a lot of the programs that EEs and especially CompEs use (ex: altera software, TI Software for MyDAQs) don't have open source equivalents. So you might want to try running Windows as a VM. I prefer OpenBSD because it's beautiful in terms of design, absolutely beautiful. I can actually read and understand the source code behind it without doing mental acrobatics. ---------------------------------------------------------------------- jaypatelani · 2018-01-27 15:00 OpenBSD then NetBSD then FreeBSD this order doesn't mean one is better than other each one is best in their uniqueness.. Also worth checking DragonflyBSD, TrueOS, GhostBSD.. ---------------------------------------------------------------------- phessler · 2018-01-27 15:07 (PS: OpenBSD has had 10G support for 10 years.) ---------------------------------------------------------------------- snurfish · 2018-01-27 15:27 Yes, if you are a computer engineering student it is definitely worth your time learning BSD. After you spend some time with BSD, Linux will seem clunky. ---------------------------------------------------------------------- DevNull007 · 2018-01-27 15:42 Wow. Ok. Didn't know that. ---------------------------------------------------------------------- beowuff · 2018-01-27 15:56 Honestly, I’d start with FreeBSD because the community is larger so when you have questions, it can be easier getting help. Then I’d move to OpenBSD. Clean and secure code base to learn from. Some of the devs can be less friendly here, but they know their stuff. Just make sure to try first before asking. NetBSD is interesting because of all the things it runs on. Unfortunately, it has a very small community these days. It would teach highly portable code, though. Edit: There are also Dragonfly BSD, HardenedBSD, TrueOS, etc. Really, check them all out and pick one. They all have different strengths and weaknesses. ---------------------------------------------------------------------- Grrrlpower · 2018-01-27 18:33 > There are no BSD distros because each one developed their own coreutils, kernel, etc Aren't TrueOS or Freenas considered distros of FreeBSD? ---------------------------------------------------------------------- justbouncinman · 2018-01-27 19:14 No. Both are FreeBSD. ---------------------------------------------------------------------- flazz · 2018-01-27 19:24 There is a decent chance you’ll end up living out of macOS. It’s closer to all the BSDs than Linux. ---------------------------------------------------------------------- Grrrlpower · 2018-01-27 20:03 Fair enough! Thanks for the reply. ---------------------------------------------------------------------- blackhaz2 · 2018-01-27 23:09 ZFS is also not new. :-) ---------------------------------------------------------------------- neirbowj · 2018-01-27 23:56 Yes, BSD is definitely worthwhile. In the taxonomy of UNIX-like OSs, it is closer to the roots of the OS ecosystem, and in my assessment remains truer to the core principles and ideals of the original architects than Linux. That is, there is a pleasing consistency, simplicity, and integrity that is pervasive in the BSD ecosystem. BSDs tend to be more conservative about making breaking changes. Their sense of being "user friendly" is strongly informed by a model of the "user" as the developer or the system administrator. In general, learning a new OS, language, tool that does X, etc, is worthwhile if you have the time and resources to do so, especially if you continue on to be a practicing engineer. It will help you to see more clearly what constitutes the durable, translatable underpinnings of a problem space, and what represents distinguishing features, design choices, and idiosyncratic sensibilities. FreeBSD is a great choice for a general purpose BSD. Coming from Linux and Mac, it would probably be the best introduction to the BSD world. Great documentation. Lots of active mailing lists. Excellent support for virtualization and cloud hosting environments. Explicitly prioritizes mechanism over policy. Strikes an impressive balance between moving slowly (multiple supported releases plus the STABLE branches, and quarterly ports tree branches) and moving quickly (the CURRENT branch and the main ports tree). TrueOS is a desktop-oriented derivative of FreeBSD, and might be a better way to ease into BSD if you are more comfortable in a GUI than a CLI. OpenBSD would be an excellent choice if you are very interested in security. The OpenBSD project is responsible for OpenSSH, which is by far the most widely-used implementation of SSH in the world. Where FreeBSD aims to be many things to many people, OpenBSD is laser focused on a few core goals. NetBSD is defined by its portability across a dizzying array of hardware environments. If your idea of a good time is getting an OS to boot on your toaster or your wristwatch, you might enjoy NetBSD. DragonflyBSD was forked from FreeBSD in order to more easily focus development efforts in a variety of areas, perhaps most notably the HAMMER filesystem. HardenedBSD was forked from FreeBSD in order to more easily develop security capabilities like address space layout randomization (ASLR). ---------------------------------------------------------------------- UninsuredGibran · 2018-01-28 01:31 Support in the sense that the device works. For real 10G support (i.e. to get that performance out of the card) you need fairly intrusive changes to the kernel. I know FreeBSD did that (in fact they support about 90 GB now with optimizations from Netflix), I have no idea what's the status on OpenBSD. I saw various reports on the mailing lists showing a top performance of about 3G, but that was a while ago. When it comes to hardware the state of the art is 100GbE and a few companies have 200GbE chips. ---------------------------------------------------------------------- UninsuredGibran · 2018-01-28 01:43 Lots of good answers here. Maybe check out DragonFly as well. They've done a lot of work to redesign and optimize their kernel to best exploit modern hardware. ---------------------------------------------------------------------- dlangille · 2018-01-28 02:42 Hell yes. ---------------------------------------------------------------------- Farmerdrew · 2018-01-28 02:55 It is pretty damn awesome though! ---------------------------------------------------------------------- Zebba_Odirnapal · 2018-01-28 08:13 > Does it worth? It is worth, my friend. As a student, you should be learning about different systems, anyway. Use whichever BSD suits your needs. I started with OpenBSD long ago, because I had stack of old surplus Sun pizza boxes and the hardware support was great. Later, moved to x86 FreeBSD later to use some commercial compilers I was using at the time. ---------------------------------------------------------------------- Zebba_Odirnapal · 2018-01-28 08:20 The OpenBSD community is just as friendly as FreeBSD. One time I casually asked on irc about some hardware issues I was having. 30 minutes of troubleshooting, I had a working machine and a shiny new patch to submit. ---------------------------------------------------------------------- bit_of_hope · 2018-01-28 08:38 Yes. * It is worth learning BSD if you're an architecture student * It is worth learning BSD if you're a physics student * It is worth learning BSD if you're a machinist's apprentice * It is worth learning BSD if you're an arceology student * It is worth learning BSD if you're an Ainu philology student * It is worth learning BSD if you're no student at all Trying BSD is free. If you have the time then go ahead and try it. The worst that can happen is that you don't like it. The different BSD operating systems aren't called distros, they're independent operating systems that share some history. The choice is relatively more significant than with Linux distributions. I suggest you start with OpenBSD. I've found it to be the most user friendly of the BSDs and it has easily the best documentation. It's a very "batteries included" OS and the basic installation contains everything you need to run a basic server or router. Most of the developers use it as their main desktop OS. If you want bells and whistles, know what dtrace and ZFS are and why you'd want them, I suggest FreeBSD. It has the largest user community of the BSDs and some would say the friendliest. There's also a desktop-oriented version called TrueOS, which comes with the Lumina desktop environment preinstalled. It's quite pleasant, but if your goal is to *learn* BSD, I don't think it will help you reach your goal easier. NetBSD is my personal favourite, but I don't usually recommend it to beginners, because it's very hard for me to explain why I like it so much. Feel free to try it and if you like it as much as I do, keep using it. It has the nicest package manager at least. DragonFlyBSD is originally based on FreeBSD, but has since diverted quite a bit. It has many kinds of features, especially low level kernel ones, which you can read more about on their website. The main draw of DragonFlyBSD is the HAMMER filesystem. Trying DragonFly is worthwhile, but you might me more inclined to do so if and when you understand what it would offer. ---------------------------------------------------------------------- Zebba_Odirnapal · 2018-01-28 12:27 They weren't gigabit but I still fondly remember my Happy Meal equipped closet of OpenBSD machines. ---------------------------------------------------------------------- Zebba_Odirnapal · 2018-01-28 12:29 More like specially-configured flavors of FreeBSD with some unique stuff added on top. ---------------------------------------------------------------------- Zebba_Odirnapal · 2018-01-28 12:33 I remember when Dragonfly forked. Matt Dillon is a freakin' genius and he has some convincing arguments, though for the sake of stability in a production environment I stuck with Big Red. If OP specializes in filesystems, I'd recommend both FreeBSD for ZFS and Dragonfly for HAMMER. ---------------------------------------------------------------------- liveoneggs · 2018-01-28 14:30 You should study the implementations of unique things these systems do. Just "learning" them as another unix should be pretty boring for a "computer engineer". ls(1) works all over the place if you know what I mean. Unique things you should learn from NetBSD: The MI vs MD split, RUMP, NPF, and crunchgen. Unique things you should learn from FreeBSD: jails, and amazing network subsystem Unique things you should learn from OpenBSD: pledge, altq, and pf ---------------------------------------------------------------------- monkeynator · 2018-01-30 00:50 Given that Mac OS X is partially based on FreeBSD, I would recommend FreeBSD since it got both ports & package (that way you'll get access to the source code of any program within the ports tree). And it's the easiest to compile your own kernel on, DragonflyBSD might also be worth checking out for certain projects it's optimized for. NetBSD is more a hobby/embedded type BSD. OpenBSD can be much more cumbersome since it's heavily opinionated (no blobs, certain features removed due to inactivity or security concern) compared to FreeBSD. ---------------------------------------------------------------------- poshpotdllr · 2018-01-31 16:02 in the old days we were a bunch of dicks. now everybody in the openbsd community thinks i am a dick. times change. people are nicer. ---------------------------------------------------------------------- bobj33 · 2018-02-02 19:48 I've been working as a computer engineer for over 20 years designing semiconductors. Everything started out as Sun Solaris and HP-UX and migrated to Linux around 2003. Today all of the EDA design tools run on Linux. If you decide to do embedded software then BSD is used in some systems. Linux is more popular but for various reasons some companies prefer the BSD code and BSD license over Linux / GPL. If you just want to learn a new OS then sure go ahead. You will see a somewhat different way of doing things and that is useful experience in general. ---------------------------------------------------------------------- vermaden · 2018-02-06 15:49 Learn FreeBSD. After I learned FreeBSD other OSes feel just 'stupid', think Linux with its ip/ifconfig mess or systemd mess or its ALSA/pulseaudio/OSS mess or its zillion of filesystems and NONE truly depend on (any Linux installer install Linux with / and /boot on ZFS with beadm support?). The only things that seem to be as good as FreeBSD are bits from Solaris/Illumos (like Zones or Comstar or its Network Virtualization).