Slashdot Mirror


The State of BSD At the Start of 2013

An anonymous reader writes "NetBSD developer Julian Djamil Fagir provides a nice briefing on what the big three BSD projects have been working on, and explains/reminds us of their cultural differences. Stick a fork in them? Yes, Djamil Fagir mentions a couple of those, too. The recent releases from FreeBSD and NetBSD were covered by Slashdot."

20 of 91 comments (clear)

  1. Was this story cleared through Netcraft? by NoNonAlphaCharsHere · · Score: 5, Funny

    I thought not.

  2. A copy of the article: by snarfies · · Score: 4, Funny

    It is official; Netcraft now confirms: *BSD is dying

    One more crippling bombshell hit the already beleaguered *BSD community when IDC confirmed that *BSD market share has dropped yet again, now down to less than a fraction of 1 percent of all servers. Coming close on the heels of a recent Netcraft survey which plainly states that *BSD has lost more market share, this news serves to reinforce what we've known all along. *BSD is collapsing in complete disarray, as fittingly exemplified by failing dead last in the recent Sys Admin comprehensive networking test.

    You don't need to be a Kreskin to predict *BSD's future. The hand writing is on the wall: *BSD faces a bleak future. In fact there won't be any future at all for *BSD because *BSD is dying. Things are looking very bad for *BSD. As many of us are already aware, *BSD continues to lose market share. Red ink flows like a river of blood.

    FreeBSD is the most endangered of them all, having lost 93% of its core developers. The sudden and unpleasant departures of long time FreeBSD developers Jordan Hubbard and Mike Smith only serve to underscore the point more clearly. There can no longer be any doubt: FreeBSD is dying.

    Let's keep to the facts and look at the numbers.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of NetBSD are there? Let's see. The number of OpenBSD versus NetBSD posts on Usenet is roughly in ratio of 5 to 1. Therefore there are about 7000/5 = 1400 NetBSD users. BSD/OS posts on Usenet are about half of the volume of NetBSD posts. Therefore there are about 700 users of BSD/OS. A recent article put FreeBSD at about 80 percent of the *BSD market. Therefore there are (7000+1400+700)*4 = 36400 FreeBSD users. This is consistent with the number of FreeBSD Usenet posts.

    Due to the troubles of Walnut Creek, abysmal sales and so on, FreeBSD went out of business and was taken over by BSDI who sell another troubled OS. Now BSDI is also dead, its corpse turned over to yet another charnel house.

    All major surveys show that *BSD has steadily declined in market share. *BSD is very sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among OS dilettante dabblers. *BSD continues to decay. Nothing short of a cockeyed miracle could save *BSD from its fate at this point in time. For all practical purposes, *BSD is dead.

    Fact: *BSD is dying

    1. Re:A copy of the article: by Anonymous Coward · · Score: 5, Informative

      Where's the FreeBSD cloud servers? There ARE NONE.

      You mean like RootBSD?

  3. Re:Dragonfly BSD ?? by dtremenak · · Score: 4, Informative

    TFS lies about TFA's contents. TFA has FOUR categories covering DragonflyBSD, FreeBSD, OpenBSD, and NetBSD.

  4. BSD kernel running in your BROWSER!? by X0563511 · · Score: 5, Interesting
    --
    For large sets, this will be our guide even unto death, for the LORD will work for each type of data it is applied to...
    1. Re:BSD kernel running in your BROWSER!? by ajlitt · · Score: 2

      There is no animated GIF to convey how blown my mind is.

  5. FreeBSD KMS & Co. by Anonymous Coward · · Score: 2, Interesting

    I think it's also worth noting that FreeBSD' support for moder GPUs is finally improving:

    -nvidia closed-source driver works (as always)
    -Intel works https://wiki.freebsd.org/Intel_GPU
    -AMD porting has started https://wiki.freebsd.org/AMD_GPU

  6. BSD is pretty cool by Anonymous Coward · · Score: 5, Informative

    What I find funny is that BSD is finally, after 10 years of ATT/UNIX trademark fearing BS, starting to not only catch up but exceed in technical developments and market growth.
    I've used it as my main desktop for almost 15 years. Well, ok FreeBSD specifically. I run Linux, and a little windows too. All the servers are BSD.
    BSD has ZFS, which is the reason Linux has ZFS, because BTRFS is still vaporware.
    And because of the ultimate freedom of the BSD two/three clause license all other OS can use BSD code.
    But Linux is a zealous camp and insists on infecting people :( And now even Linux is stealing back clean-roomed BSD code that the BSD projects clean-roomed from GPL tools specifically to get away from GPL versions of same. How funny is that :)
    And now with CLANG/LLVM things are really moving.
    No, BSD is not dying, it's building very long term openness and business friendly models, much longer term and open visioned than Linux. BSD cares about these things. One way to see that is the FreeBSD foundation's donations page, the model is working.
    Linux is better than it was in the 90s and 2000s, it doesn't crash on me like it used to. They'll both still crash if you poke them in certain ways. But as a daily use, BSD hasn't ever exibited what I used to see with Linux.
    Oh, there is also PC-BSD for users, which is sort of like Ubuntu to Debian.
    I like not having to worry about KERNEL from Linux + GNU from third parties to make a whole OS... BSD projects provide the sum of those two IN HOUSE. You get the whole OS from one shop. So all that is left is the packages you want to install like X, Firefox, GIMP, whatever just like any other OS.
    Anyways, I'm just happy with FreeBSD (and OpenBSD and DragonflyBSD, don't really use NetBSD because they're more embedded).
    If you're a Linux user and haven't tried it, grab an ISO and run it in a VM. Don't freak because you might not have a sexy GUI installer with pointy clicky AJAX menus and stuff (that's coming), but take a look at the configuration mechanism after you're up and running, how you update and build the kernel and world... the overall BSD model of things.
    See if you like it maybe :)

    1. Re:BSD is pretty cool by dbIII · · Score: 2

      Because of ZFS (and after being disappointed with the current state of ZFS on linux, it's still too early and performance is way behind other implementations) I put a version of BSD on an old 32 bit file server with 750GB IDE disks that were being wasted and hadn't been powered on for a while. Even that thing seemed fast - with a quick boot time and enough disks in the ZFS pool it suddenly seemed viable despite being in the rack with machines seven years newer. Of course having 4GB of memory helps a lot. A newer SATA machine with an early amd64 doesn't run anywhere near as well with 2GB. For anything new it's not an issue since 16GB is cheap and easily available.

    2. Re:BSD is pretty cool by Patch86 · · Score: 2

      But Linux is a zealous camp and insists on infecting people :( And now even Linux is stealing back clean-roomed BSD code that the BSD projects clean-roomed from GPL tools specifically to get away from GPL versions of same. How funny is that :)

      Yeah, I hate it when people release code under the license they want, and then someone comes along and takes it off them, and releases the code under a completely different license! Really rude. If only there were a license that the BSD project could use which would prevent such terrible behaviour...

      Or to put it another way (with less snark)- if they don't like people changing the license their code is under, they shouldn't be releasing it under a BSD license. That's basically the point of that license...

  7. Re:BSD? by unixisc · · Score: 2

    GNU itself clarifies that BSD is not based on GNU software. Check out their website

  8. Some shortcomings of the article by unixisc · · Score: 3, Informative

    I read TFA. I was rather disappointed that in the list of BSD's accomplishments, no mention was made of IPv6, where FBSD was the pioneer. It was the first to have support from the KAME project, and later, in version 9, they even had the IPv6 only mode, which users could use if they wanted to test whether applications work w/ IPv6 w/o a fallback to IPv4. They would also have done well to have described PC-BSD's EasyPBI package manager, which even FBSD seems to have adapted, as well as the Linux jails in FBSD and PC-BSD.

    On the OBSD side, they could have described their routing and firewall capabilities. Also, they could have, in the FBSD part, described m0n0wall and pFsense, and compared them w/ OpenBSD

    On the NBSD side, I don't see NetBSD playing much of a role. If they are targeting embedded devices, they would do better to team up w/ Minix3.2, which, as a really small microkernel would be better suited for embedded applications, and focus on the things mentioned, whether it's file systems, networking, getting non-GNU utilities (like FBSD, they too ought to endorse and adapt LLVM/Clang) and Wayland. Since Minix 3.2 is under a BSD license and has adapted the NBSD conventions, it would be a good idea simply to merge them. I mean, does the NBSD kernel have anything special about it that Minix 3.2 doesn't deliver

    1. Re:Some shortcomings of the article by laffer1 · · Score: 2

      The author did a poor job of listing most BSDs accomplishments and fails to mention many projects of interest in the community.

      GhostBSD, pfSense, Monowall are all interesting projects and then there's my project MidnightBSD and MirBSD.

      In general, I think there's interesting projects related to file systems, IPv6, compiler work, and virtualization happening in many of the BSDs. Some BSDs are going to GPLv3 binutils and GCC (DragonFly, NetBSD). Others are using LLVM+clang (FreeBSD, MidnightBSD) and then others are looking at PCC (MirBSD, OpenBSD?)

      DragonFly's HAMMER file systems are interesting as is the work to port ZFS to FreeBSD that's matured nicely. BHyVE virtualization on FreeBSD and XEN on NetBSD are nice.

      There's a lot happening.

    2. Re:Some shortcomings of the article by unixisc · · Score: 2

      On the package managers, on the Linux side, I've had yum/rpm throw up dependency conflicts all the time. I've had fewer problems w/ apt-get, so have nothing to say against them. In PC-BSD, they handle the dependency issue very well, which is why it's such a neat feat: they have the applications bring in their own dependency libraries w/ them, but also do a check to see whether the required dependencies are already there in the PC-BSD system. If they are, the dependencies are not redundantly installed. Also, during an uninstall, PBI checks whether a library is no longer needed. One thing I do hope to see in PC-BSD is Wayland support - it's not needed in FBSD, but PC-BSD ought to have it.

      I'd really like to see Bitrig - the fork of OBSD - merge w/ pFsense or m0n0wall. Its real utility is as a firewall & router, given the security focus of the parent project, so while it makes sense that they don't want to support things like SPARC or POWER, they should support router CPUs, which would include MIPS and OpenRISC. So far, they've completed the move to LLVM/Clang, and hopefully can do their other things as well. Since BSD already has leadership on IPv6, they should leverage that in coming up w/ powerful security models for IPv6, so that it's difficult to claim that IPv6 is any less secure than IPv4, and make that their selling point.

      About OBSD itself, I'm not getting their differences w/ the FSF, given that the FSF likes their firm opposition to closed source software, and their only difference is the insistence on Copyleft, which Theo, given his ideology, shouldn't have a problem with.

      NetBSD - Tannenbaum seems to consider their userland useful enough to adapt on Minix. They should keep NetBSD for the old platforms, but adapt Minix for future systems - like embedded devices. Maybe do a Minix port to the ARMs - Raspberry Pis, Arduinos, et al and have NetBSD userland ride on them. Minix too has already switched over to LLVM/Clang. Ideally, I think Minix should have just taken features from FBSD, and been the embedded representative of FBSD, given its very small footprint.

      I think that kFreeBSD is interesting, but the question that begs itself - what do they gain by putting the GNU userland on a BSD kernel? A better exercise would be to do the converse - put BSD userland on a Linux kernel. Right now, the GNU userland is GPL 3, unless Debian is deliberately holding back to an older version, which would have its issues. While kFreeBSD does allow Debian packages to live on a BSD, FBSD jails now seamlessly allow that by running a Debian jail within FBSD (the other project of Debian - kNetBSD, which tried doing it the other way, got abandoned). So this Debian work could be better utilized to put together a FBSD userland on Debian non-GNU Linux, and then Debian software on top of all that.

      DragonFly - I see them having a niche in massively parallel systems, if they keep expanding that. If NetBSD & Minix occupy the low end, DragonFly can occupy the high end. I'd like to see them re-introduce ports of SPARC, Itanium and POWER, in addition to x64, since those are the systems that could most use their BSD.

      I agree that the BSDs are healthy, but some consolidation would be nice. Maybe if FBSD adapted the security of OBSD and looked into whether it would be better off w/ Minix as its kernel, that could be an interesting base OS, from which to have derivative distros similar to PC-BSD, GhostBSD, MidnightBSD, MaheshaBSD and so on.

  9. Re:OSX is doing great by SigmundFloyd · · Score: 4, Informative

    OS X is more than FreeBSD it's UNIX(tm).

    OSX may have been certified as Unix, but it has been diverging from its ancestor so much that it no longer feels Unix-like in the least.

    Some examples:

    - no /dev (bye-bye Unix philosophy cornerstone "everything is a file");
    - unusable "locate" that doesn't find all the stuff it should (because Apple wants you to use Spotlight, the command line is bad, you silly!);
    - much of the userland isn't aware of the HFS+ filesystem extensions (have fun cp'ing files, discovering months later that - oops! - the stuff had a resource fork and is now unusable -- verrry dependable!);
    - case insensitive filesystem by default, you could switch to case sensitive for compatibility with any other Unix in the universe (have fun reformatting and reinstalling) but - alas! - important application software won't support it (photoshop & others);
    - no cron! If you want to get it to do things periodically, you either gotta write freaking XML for launchd, or run Vixie Cron in addition to launchd. No thanks!

    If OSX is Unix, it's the worst Unix I've ever seen. No serious command line nerd could ever like it (OTOH, it's perfect for know-nothings who like to click on pretty pictures). Using it is a totally different (as in "worse") experience than using any BSD (or Linux!), so spare me the old "OSX is BSD" hearsay!

    --
    Knowledge is power; knowledge shared is power lost.
  10. Re:OSX is doing great by pchan- · · Score: 5, Informative

    iOS is doing even better.

    There seem to be some uninformed posters here, so here is the OS X relationship to BSD:
    The OS X/iOS kernel is based on Mach, which is a microkernel mashed together with a BSD kernel. It has a lot of BSD code in it and continues to share code with the other BSDs. It has features borrowed from BSD such as DTrace, PF firewall, file system support (including ZFS before it was removed), the networking subsystem, kqueue, jails, and others. While Mach is fundamentally different in some ways, to a POSIX binary it looks and feels just like any other BSD system.

    The OS X userland is also based on BSD and was originally derived from FreeBSD. It uses the BSD libc and many of the command line tools are from the BSD world (from grep to ssh). It also includes some GNU tools, such as bash. Apple is actively working on replacing many of these, and they recently dropped GCC and GDB and replaced them with Clang and LLDB.

  11. Truecrypt - Closed source? by Anonymous Coward · · Score: 2, Interesting

    The article states "TrueCrypt, a disk encryption tool, though being Closed Source, gained a wide distribution among computers due to its ease of use and cross-platform compatibility." I think this is misleading as the source code is licensed under a custom license but it is open source (depending on what one means by open source). It's not a BSD or GPL license, but the code is open and one is allowed to modify it and distribute binaries and source of the modified version. It has to be renamed and there are some other restrictions, but to call it closed source is misleading.

  12. Re:OSX is doing great by SigmundFloyd · · Score: 2

    sudo /usr/libexec/locate.updatedb

    It's not that. I've updated the db (and I let update it periodically, via launchd) but it still won't find everything (not even regular user-owned stuff).

    man CpMac

    Yeah, I had come across that one. Then again, you first have to know it exists. Apple won't warn you nor inform you. And when you investigate and find out, it's usually because the regular Unix tools have already wrought havoc.

    It's a case-preserving filesystem by default. Because it's a Mac and needs backward-compatibility.

    Whatever. Have fun developing on a case-insensitive file system and not noticing case mismatches that will suddenly stop the show when you run your stuff on a proper Unix.

    http://menphix.wordpress.com/2010/04/24/how-to-use-cron-in-mac-os-x/

    That won't work, from at least 10.6 onwards. No cron by default. If you want it, you must use it in addition to launchd. If you want to start cron at boot, you have to tell launchd, by writing freaking XML!

    Sounds to me like you don't like it because it's different from what you're used to and you don't know what you're doing because you didn't RTFM.

    I don't like because it's a bastardized Unix that's not nearly Unix-like enough.

    --
    Knowledge is power; knowledge shared is power lost.
  13. Re:OSX is doing great by SigmundFloyd · · Score: 2

    You have it wrong. The file system is not really case-insensitive as per the traditional sense. If you have a file named "SomeFile.pdf" and try to open "SomeFile.Pdf" it will fail. The case is sensitive just as with the other Unix based operating systems. Where it differs is that it will not allow you have files named "Readme" and "readme" in the same location.


    > ls dir2
    README
    > mv dir1/readme dir2/
    > ls dir2
    readme

    Bye-bye README! Because of this nonstandard behaviour, I once lost a bunch of files. Thankfully, I realized soon enough and I had backups; but - since then - I know I can't trust shell scripts known to work on other Unixes.

    --
    Knowledge is power; knowledge shared is power lost.
  14. Re:OSX is doing great by MysteriousPreacher · · Score: 2

    - no /dev (bye-bye Unix philosophy cornerstone "everything is a file");
    - unusable "locate" that doesn't find all the stuff it should (because Apple wants you to use Spotlight, the command line is bad, you silly!);
    - much of the userland isn't aware of the HFS+ filesystem extensions (have fun cp'ing files, discovering months later that - oops! - the stuff had a resource fork and is now unusable -- verrry dependable!);
    - case insensitive filesystem by default, you could switch to case sensitive for compatibility with any other Unix in the universe (have fun reformatting and reinstalling) but - alas! - important application software won't support it (photoshop & others);
    - no cron! If you want to get it to do things periodically, you either gotta write freaking XML for launchd, or run Vixie Cron in addition to launchd. No thanks!

    If OSX is Unix, it's the worst Unix I've ever seen. No serious command line nerd could ever like it (OTOH, it's perfect for know-nothings who like to click on pretty pictures). Using it is a totally different (as in "worse") experience than using any BSD (or Linux!), so spare me the old "OSX is BSD" hearsay!

    So you noticed that /dev/ still exists. Well done. Although mounting is automatic (which I hardly see as being a bad feature and something unique to Mac OS X) there's no reason why you can't manually mount stuff as you wish. man mount.

    On locate, log a bug if it's not working as intended. This is what techie people do. I'd opt for mdfind unless I have a script that *absolutely must* use locate. mdfind is fast and isn't reliant upon having an up-to-date locate database.

    cp by default preserves resource forks. It's been that way for over six years! You're right that prior to that it was a mess during the period when resource forks were still very much used in Classic applications, and CpMac was kind of hidden away in the developer tools. Anyway resource forks were problematic for a long time. Saw plenty of issues where people would email files or copy them to alien filesystems, ending up with broken applications. man CpMac and man cp.

    Agreed on the case insensitive default of HFS+. That I find a bit odd.

    On cron - it was at first odd to see it go but I'm now happy working with launchd. XML isn't a pain if you have templates ready, or use something to generate the XML for you. Granted it's not as straightforward as popping a line in to a crontab. Personal preference and use cases really. I like launchd because a task can be triggered by a fairly broad range of events. I too miss the simplicity of cron.

    Incidentally, I've had similar issues switching between BSD and Linux. Shit's not necessarily where I expect it to be. I'd say your gripes are more to do with outdated information and personal preference. I stick with BSDs, not because I think they're inherently a better Unix than Linux - more because BSD feels like coming home. Linux feels like a parallel universe where things are sufficiently different to be noticeable, yet overall pretty familiar.

    --
    -- Using the preview button since 2005