Slashdot Mirror


Debian NetBSD

bXTr writes "Interesting project over at SourceForge. Quoting from the website, 'Debian NetBSD is a port of the Debian Operating System to the NetBSD kernel. It is currently in an early stage of development and cannot currently be installed from scratch. Instead, a tarball of the current envionment is available and can be extracted into a handy directory on a NetBSD system.' Check out the reasons why they're doing it and some interesting commentary at DailyDaemonNews on this."

13 of 346 comments (clear)

  1. I would prefer the other way around by horster · · Score: 5, Informative

    personally, I would like to see a BSD distro with ports and all, but with a linux kernel.

    I just installed FreeBSD recently and have to say i was blown away with how professional the installer was, very simple and powerful - not to mention the ports system.
    debian is nice, apt-get is a great program and the net install is awesome, but I can't say I have much love for dselect. I think debian shows the most promise of any linux distro right now, but in terms of polish, I have to give it to FreeBSD so far.

  2. Gentoo linux by metalhed77 · · Score: 4, Informative

    Gentoo Linux has that, www.gentoo.org , it uses a ports style system, i'm not sure if it's a direct port of ports, or their own deal.

    --
    Photos.
    1. Re:Gentoo linux by cymen · · Score: 4, Informative

      Ports is a collection of applications that can easily be compiled for your operating system. Basically for FreeBSD you have /usr/ports. That directory contains various subdirectories dividing applications into www (apache, mod_php4, etc), lang (ruby, etc), mail (mutt, exim, etc), and so forth. Each directory for a specific application contains a number of files. Some of these are patch files that are applied to the source code of the port. See the ports tree doesn't contain the actual code of the application - it only contains enough logic to get the regular .tar.gz release (usually from the developers home site) and the patches to build it properly (particular distribution preferences on file structure, libraries, etc).

      Every couple days I use cvsup to suck down the modifications to the ports tree to my FreeBSD box. Then I happen to use a relatively new tool not in the base system (portupgrade, written in ruby) to check if my currently installed packages are up to date. If they aren't, I can instruct portupgrade to upgrade them or go to each directory individually and do a "make install". Oh yeah, each directory has a Makefile :).

      It's sort of like why distribute the source code if it is just going to get out of date (plus you'll be getting the source for all kinds of crap you never end up using). Of course now each application must be compiled but if you don't want to do that you can use the packages (precompiled binaries that can be added with pkg_add, etc).

      Another benefit is ports can be on any version of the operating system because it is independent of the base system. Look at RedHat and you'll see compiled packages for RedHat 6.2, 7.2, etc (of course, before someone knee jerks a reply, RPMS are out there but I'm trying to make a point here). Ports avoids this. The price is compilation. A trade off. You make the call.

      Hope that helps. Here is the FreeBSD handbook section for ports: ports-using.html (it contains a better description of what files are in a ports directory).

  3. Re:the kernel? my god man by tao · · Score: 4, Informative
    Why on earth why would you want a linux kernel in BSD userland? Do you really want a horribly broken VM system and every yahoo who can type hello world submitting patches? Thats why I like BSD. Theres a core group in charge of what goes and what stays. Who has the final say so in the linux kernel?

    Ever heard of Linus Torvalds? Oh, and for the v2.4 kernel it's Marcelo Tosatti, for v2.2 it's Alan Cox. For v2.0, it's yours truly. It's hardly like anyone can get their code into the kernel. Anyone is free to submit patches though. That doesn't mean it'll get in.

    As for the VM, yes, there have been problems (mostly with corner-cases, though), but v2.0.xx has a stable VM, v2.2.xx has a stable VM now, v2.4.xx has a stable, if somewhat unoptimal VM now, and v2.6 will hopefully have Rik van Riel's VM, which shares a lot of similarities with the VM from FreeBSD, but with some Linux-specific adaptments.

    So please, don't spread FUD.

  4. Debian is not Linux by CatherineCornelius · · Score: 5, Informative
    To me, this is promising. I like to see cooperation between the Linux world and the *BSD world.

    Well I agree with you that it's promising, but do remember that the Debian project is not Linux, but a GNU operating system. There is Debian GNU Linux, and there is Debian GNU HURD, and now (apparently) Debian GNU BSD.

  5. Try these by Arker · · Score: 4, Informative

    Slackware, the daddy of em all - still alive and kicking. Very BSDish install, similar package handling, BSD init. No ports system last I checked :( but a very friendly system otherwise for compiling from source. http://www.slackware.com

    Gentoo, a newcomer, to oversimplify a little the idea seems to be Slack+Ports. Haven't used it yet, heard some great things, sure looks promising. http://www.gentoo.org

    Also another similar project that was just recently reported here - sorcerer linux. Don't know enough about it to differentiate it from gentoo, the ideas seem very similar unless I'm missing something (quite possible, haven't had the time to try either.) http://sorcerer.wox.org/

    --
    =-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Friends don't let friends enable ecmascript.
  6. Re:They're not cooperating... by Carlos+Laviola · · Score: 4, Insightful

    Their motivation is quite clear to me: have another choice of a kernel that is already robust and better than the Linux kernel in certain areas, and have the nice, organized and easily upgradable Debian on top of it. Come on, building *everything* from source is so much more trouble than apt-get dist-upgrade. Think XFree86, Mozilla, etc.

  7. I don't like it by znu · · Score: 5, Insightful

    The thing I've always really liked about the BSDs is that they're complete and separate systems that include everything from the kernel to the userland tools, all integrated by one team. Compare with the Linux world, where you have a bunch of different distros that many people pretend are all the same OS (in spite of the fact that file systems are arranged differently, boot sequences are different, configuration is different, package management is different, userland tools are often different, etc.) because they happen to use the same kernel. The BSD way has always seemed a lot cleaner to me. The idea of seeing a myriad of distros based on the BSD kernels really isn't one that I like. I believe it's a step in exactly the wrong direction. Open source Unix needs more standardization, not more fragmentation.

    --
    This space unintentionally left unblank.
  8. Transition by tiny69 · · Score: 4, Insightful

    Not too long ago, someone made the comment on slashdot about the general progression of Linux users. As a users becomes more experienced with Linux, they tend to shift from:

    Mandrake/RedHat -> Debian/Slackware -> *BSD

    It seems that Debian is going to make that last transition a little easier.

    --
    Go not unto/. for advice, for you will be told both yea and nay (but have nothing to do with the question)
    1. Re:Transition by m_ilya · · Score: 4, Interesting
      Funny but I've switched my desktop OS in slightly different order:

      RedHat -> Slackware -> FreeBSD -> Debian

      For desktop OS I find Debian Linux more convient than FreeBSD for two reasons:

      • Linux have better support for multimedia devices than FreeBSD
      • Debian have more prepackaged software than FreeBSD and in general quality of debian packages is better than FreeBSD ports thanks for Debian strict packaging policy.

      --

      --
      Ilya Martynov (http://martynov.org/)

  9. Re:I shoulda seen this one coming... by CatherineCornelius · · Score: 5, Funny
    Finally, it's the GNU/BSD distribution!

    Gnu's not Unix...except when it is.

  10. ports by lightfoot+jim · · Score: 5, Insightful

    What exactly is the ports system?

    More like, what are rpm users missing out on? With rpm -i package.rpm the user may or may not be able to install the intended software. There could be real dependency problems, as in kde2 needs qt2. There could also be bogus dependency problems since you may have compiled qt2 from source but rpm wouldn't know about it.

    Enter FreeBSD and ports. A typical FreeBSD install creates a directory called /usr/ports which is a whole tree of makefiles. So to install something, you just cd /usr/ports/category/WhateverYouWantToInstall/ && make && make install. All dependencies are taken care of automagically. The makefiles in these directories are smart enough to download whatever you need and then compile the source on your machine. So installing a new package doesn't take several hours of trolling newsgroups and searching for rpms.

    But you don't have to take my word for it. Check this out.

    My experience is limited to Mandrake, Slackware, FreeBSD and OpenBSD. They each have their strengths and weaknesses, but when I need to get sh*t done, BSD, espescially FreeBSD is my first choice just because the ports tree contains nearly any software I'd want to run, eliminating the bottleneck that software installation sometimes turns into and letting me get to the task at hand.

    As an aside, it seems like everything that Mandrake tries to be to "joe sixpack" who is just getting into trying linux on the desktop, BSD is to the sysadmin or programmer who needs to get a *nix platform up and running for a certain task. Compiling a custom kernel, installing software, modifying the init process, etc are at least as easy for the sysadmin on BSD as adjusting the screen fonts and changing the wallpaper are for a newbie in Mandrake.

    --
    The state is the great fiction by which everyone tries to live at the expense of everybody else. ~F. Bastiat
    1. Re:ports by scrytch · · Score: 4, Insightful

      > How is this any more convenient than apt-get which is also available for RPM based systems?

      Because ports does not require packages. Example, if I want to install a KDE app, it does not require that I have the qt package installed. It searches for libqt.so. If it's a gtk package, it runs gtk-config, if it's apache, it runs apxs, and so forth. Now debian's a little better than RPM, which ends up making you force-install just about everything (defeating dependency checking) because you installed something from source, but you still have to intervene when a dependent package isn't present. Ports assumes you know what you're doing, and if the lib is there, it's there, it doesn't need a package manifest to tell you. It does check for the package first, and ports does build a package, so you get a package-based system that degrades gracefully when you don't religiously use the package system.

      THAT is why I use ports. Because no sysadmin I know of takes the builds out of the box, they keep their source trees around to tweak and recompile as needed. Oh, and ports lets me do that doo, I just "make get" the port, cd work/packagename, and there's the source tree as if I'd untarred it myself. I can configure && make install it from there, or cd ../..; make install from there and it builds as a package.

      --
      I've finally had it: until slashdot gets article moderation, I am not coming back.