Slashdot Mirror


Arch GNU/Linux Ported To Run On the FreeBSD Kernel

An anonymous reader writes "The Arch Linux distribution has been modified to run off the FreeBSD 9.0 kernel as an alternative to using Linux. The developer of Arch BSD explained his reasoning as enjoying FreeBSD while also liking the Arch Linux philosophy of a 'fast, lightweight, optimized distro,' so he sought to combine the two operating systems to have FreeBSD at its core while being encircled by Arch. The Arch BSD initiative is similar to Debian GNU/kFreeBSD."

79 comments

  1. WTF GNU by Anonymous Coward · · Score: 0, Insightful

    The name of the distro is "Arch Linux," not GNU/Linux. You can rename a GPL package whatever you want when you distribute it.

  2. I like these projects conceptually by Trepidity · · Score: 5, Insightful

    I probably wouldn't actually use a Linux-distro-now-with-BSD-kernel for regular usage, but the porting efforts tend to do a good job uncovering not-quite-portable parts of supposedly portable code, which makes everything more robust. So I like that they exist, because the fact that they work at all gives me some more confidence that portable code is working like it's supposed to.

    1. Re:I like these projects conceptually by Noughmad · · Score: 4, Interesting

      Arch appears quite portable, considering it also has a Hurd port: ArchHurd.

      --
      PlusFive Slashdot reader for Android. Can post comments.
    2. Re:I like these projects conceptually by Anonymous Coward · · Score: 0

      Doesn't that mean upstream is quite portable or does Arch do a lot of patching to make it portable?

    3. Re:I like these projects conceptually by minor_deity · · Score: 2

      It means that upstream is portable since Arch does as little patching as possible.

  3. Questions regarding userlands: by Anonymous Coward · · Score: 5, Interesting

    As a longtime FreeBSD user, I am wondering why bother? I can run Linux binaries through the built-in compatibility layer since at least 7.x

    How is using the FreeBSD kernel with the GNU userland any better than running the GNU binaries directly on a full FreeBSD system? If this is to improve "desktop" usability, how does this compare to something like the PC-BSD distribution of FreeBSD?

    1. Re:Questions regarding userlands: by vlm · · Score: 3, Insightful

      I would imagine various privilege escalation attacks are microscopically more complicated, at least for skript kiddies and automated systems, on a mixed system. Security via obscurity should never be your only line of defense, but it is "a" line of defense.

      --
      "Science flies us to the moon. Religion flies us into buildings." - Victor Stenger
    2. Re:Questions regarding userlands: by aliquis · · Score: 2

      Maybe they like the GNU userland better but most likely it's about getting some features from the FreeBSD kernel to Arch.

      I assume there's still plenty of GNU stuff in FreeBSD to? Or? I know the various BSDs has argued and switched to BSD licensed compilers previously.

      Personally I would like to have what I'm used to and have it work like I'm used to regardless of OS.

      OpenSolaris didn't had the GNU utilities and wasn't build the OS wasn't built for things like open sound system and things wasn't made to build on Solaris instead so it was a pain (imho, ymmv) to use for that purpose.

      Maybe Pacman work better than portupgrade to.

    3. Re:Questions regarding userlands: by devman · · Score: 3, Insightful

      I'm liking the idea of using ZFS on an Arch BSD system, also I agree, pacman is awesome.

    4. Re:Questions regarding userlands: by Anonymous Coward · · Score: 1

      I used arch and I am still using FreeBSD. Pacman can yield some nasty surprise if you have a seldom powered up computer. Arch really needs a tight update schedule or you might have missed a step that breaks upgrading. If you want a BSD kernel and gnu tools, just install them from ports.

    5. Re:Questions regarding userlands: by the_humeister · · Score: 2

      64-bit Linux binaries don't run under the compatibility layer.

    6. Re:Questions regarding userlands: by Anonymous Coward · · Score: 3, Interesting

      Actually, I'd be interested in the opposite. A Linux kernel (wider hardware support) with BSD userland & BSD init.

    7. Re:Questions regarding userlands: by Anonymous Coward · · Score: 0

      "64-bit Linux binaries don't run under the compatibility layer."

              FreeBSD is working on that.

    8. Re:Questions regarding userlands: by toejam13 · · Score: 1

      Same here. As somebody who does not use ZFS, I see more benefit in using a Linux kernel than a *BSD one. But I greatly prefer the FreeBSD userland over any GNU userland, which has firmly kept me in the Beastie camp.

    9. Re:Questions regarding userlands: by Anonymous Coward · · Score: 0

      Ignore troll. He doesn't understand how memory management works and how programs are executed so he's making all the wrong distinctions. Most specifically regarding protected memory and what it meant for the kernel design when the x86 came to have it. Just the fact that Plan 9 is conveniently omitted from his rant is a big tell... But unlike him I'm not going to bother explaining the tech stuff to non-programmers. More importantly it's not really important:

      It's called GNU\Linux to show respect to the spirit of the GNU project and the license it's released with.

      Regardless, Linus Torvalds himself stated on film he feels calling it GNU\Linux is the right thing to do. And there you have it from God's lips himself ;)

    10. Re:Questions regarding userlands: by aliquis · · Score: 1

      I would had seen that as a reason good enough to do it to but since Linux got btrfs (and even if it's not perfect now it will improve) I never mentioned it.

    11. Re:Questions regarding userlands: by aliquis · · Score: 1

      My only experience with Arch Linux was back in 0.7 and then it wasn't good. But that doesn't mean much now so I can't comment for how Arch work now. I tried Chakra Linux during early 2012 but I don't remember if there was anything else wrong with it except the bundle system for GTK-applications. Applications? =P

    12. Re:Questions regarding userlands: by aliquis · · Score: 1

      Cool story. FreeBSD is an operating system.

      TL;DR. At least you had my attention until "operating system." You're welcome.

    13. Re:Questions regarding userlands: by Anonymous Coward · · Score: 0

      http://starchlinux.org/

    14. Re:Questions regarding userlands: by smash · · Score: 1

      Why bother indeed, when the BSD userland is more unix-defacto-standards compliant, and often faster. Like sed, for example which runs >2x faster than the GNU version. ref: http://lists.freebsd.org/pipermail/freebsd-stable/2011-January/061084.html

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    15. Re:Questions regarding userlands: by squiggleslash · · Score: 1

      when the BSD userland is more unix-defacto-standards compliant

      I'm not sure it is anymore. The prevalance of the GNU userland via GNU/Linux has effectly made it the standard. I gave up using ksh a decade ago because of the number of scripts etc that required bash's features, even when supposedly written for generic Bourne.

      Now, of course, it'd be easy to argue that more Unixes implement something closer to BSD than GNU, but the counter argument to that is that GNU/Linux seems to be, by the far, the most commonly implemented. Mac OS X comes close, but developers tend to actually ignore the Unix side of Mac OS X for the most part anyway - given a package that includes scripts, it's far more likely to have been provided primarily for a GNU user than a BSD user.

      --
      You are not alone. This is not normal. None of this is normal.
  4. BSD Python by ArsonSmith · · Score: 0

    I'm not quite dead yet. Think I'll go for a walk. I'm so happy, SO HAPP....<thud>

    --
    Paying taxes to buy civilization is like paying a hooker to buy love.
    1. Re:BSD Python by Anonymous Coward · · Score: 0

      You just discovered unix in the past year, didn't you?

  5. Unnecessary redundancies by Anonymous Coward · · Score: 0

    The author of this suggests that ArchBSD helps with not having to build from source, which may in fact draw the masses of people that don't realize FreeBSD uses PKG_ADD and building from source is optional in most cases. PC-BSD has its own package system as well which makes creating a whole new one pretty unnecessary. Freshports is more than adequate most times even still. With all that's lacking where ARM is concerned why is there still a focus on this and why is it headline worthy?

    1. Re:Unnecessary redundancies by Anonymous Coward · · Score: 0

      Give pacman a whirl, it is a pretty awesome package manager.

    2. Re:Unnecessary redundancies by aztracker1 · · Score: 1

      I really like PC-BSD, and if I could use it as a VMWare Workstation it would be my preferred desktop OS.

      --
      Michael J. Ryan - tracker1.info
    3. Re:Unnecessary redundancies by unixisc · · Score: 1

      There is a BSD distro for that called Virtual BSD, which I believe was covered on /. a while back

  6. Could be a good thing. by Anonymous Coward · · Score: 1

    I always used Arch primarily for setting up servers ... the FreeBSD kernel is an interesting addition.

  7. Re:Technological masturbation by Anonymous Coward · · Score: 1

    Like tearing down the efforts of others in forum posts!

  8. Re:Technological masturbation by Anonymous Coward · · Score: 5, Insightful

    Wasted effort that would have been better spent on something useful.

    That time is not yours to spend.

    Some people spend their time playing golf, others spend it arguing on the interwebs. None of them are useful but it is also unlikely that those who do so will be willing to do something else unless you pay them to.
    This dude spent his time doing something way more useful than most other people but you call it wasted time.
    As long as people participates in sports, watch TV or go to the cinema I find it a bit odd to call this a waste of time.

  9. Init system by Anonymous Coward · · Score: 1

    I'm wondering how they'll go about the init system now that Arch has decided to move to systemd and drop support for initscripts. Last I heard systemd uses a lot of Linux specific features and cannot easily be ported to a *BSD.

    Too bad the site is down at the moment.

    1. Re:Init system by Anonymous Coward · · Score: 0

      The only init package that appears in the repo is openrc, so I'm assuming they're not using systemd.

      http://www.archbsd.net/packages/core/x86_64/openrc/

    2. Re:Init system by Anonymous Coward · · Score: 0

      Do you understand the difference between "decided to" and "did"? It's not hard if you give it a try, I promise!

    3. Re:Init system by Anonymous Coward · · Score: 0

      Wonder no more. This is my current escape route from something Netcraft never accounted for - systemd.

    4. Re:Init system by Anonymous Coward · · Score: 0

      I'm wondering about this as well. I wish there was a more cross platform way to keep log files and start programs. If only we could use text files.

    5. Re:Init system by Anonymous Coward · · Score: 0

      Did > Decided to

      Retard.

    6. Re:Init system by bzipitidoo · · Score: 2, Interesting

      LOL. I use Arch Linux, but forcing everyone to switch to systemd has me looking at other distros. Thinking Lubuntu might be the way to go. Read that Ubuntu is going to a rolling release starting in version 14.

      The Arch people get pretty nasty if you question their decisions. I asked why they made this move to systemd, and got "you're an ignoramus if you don't understand" kind of responses. Maybe they don't have a good reason? And maybe that's because there isn't a good reason to switch to systemd? The only good thing I've heard about systemd is that it boots faster.

      --
      Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
    7. Re:Init system by spike+hay · · Score: 1

      This explains it pretty well:

      Systemd has plenty of advantages. People just hate change and having to type systemctl instead of rc.d. It does suck that BSD is getting increasingly left out in the cold with this and udev, though.

      --
      If you don't understand any of my sayings, come to me in private and I shall take you in my German mouth.
    8. Re:Init system by bzipitidoo · · Score: 1

      That's more explanation than I managed to turn up poking around on the Arch website and asking in the forums. Thanks. Yet I don't buy it. Also, that the discussion isn't more prominent shows another problem: documentation. Would've been nice to provide a list of common initscripts way of doing things with systemd equivalents, to ease the transition.

      For instance, took a bit of time to realize that /var/log/messages was no longer used to hold logs, then hunt around to find out what systemd does instead, which is "journalctl". journalctl appears to compress the logs, which may or may not be a good idea, depends on what uses are made of them. I know of logrotate and how to configure it to use compression or not, but how is this done in systemd? One bad thing about compressing them is that if you want to see more of the most recent messages than journalctl stores in the clear, you're in for a wait. Try "journalctl", go to the end with 'G', and you'll be waiting a few minutes. I think what must be going on is that journalctl is uncompressing all the logs, but I don't know. Maybe journalctl is better, but I'd like some more information so I can judge for myself. What I've seen so far doesn't look better.

      I am not convinced that systemd is following the UNIX principle of lots of small, simple utilities that each do one thing and do it well. Despite their claims of modularity, systemd seems to be making system initialization into a monolithic process. What compelling reason do they have for this approach? None that I've heard. The reason we stick with the Linux kernel is that it's mature, supports a lot of hardware, and contains a lot of good work and good algorithms for the core function of an OS, process and resource management. We don't stick with it because it's monolithic, more like in spite of that, and because there isn't any decent microkernel alternative. So we're stuck with monolithic kernels. Why would we want to throw away modular initialization systems for a monolithic one?

      BTW, that thread also shows the nastiness I was talking about. Consider this gem:

      My two cents about Arch moving to systemd: Arch devs knows what they're doing, period. Stop whining about KISS/Arch way because many of you obviously don't get it.

      Yeah, I like being talked down to like that. Not.

      --
      Intellectual Property is a monopolistic, selfish, and defective concept. It is "tyranny over the mind of man"
  10. Re:Technological masturbation by Rude+Turnip · · Score: 1

    It's something the developers can put on their resume. And that is the real value.

  11. why? by Anonymous Coward · · Score: 0

    why? why so much dedication on to things that have no point vs things that will make Linux better in terms of usability and to take over the desktop. Such a waste.

    1. Re:why? by Anonymous Coward · · Score: 0

      Like what, porting Arch to the HURD kernel? Would that be a better use of time? Jackass.

    2. Re:why? by Anonymous Coward · · Score: 0

      No point? Like bitching on slashdot about people not spending their time the way you want them to?

    3. Re:why? by Anonymous Coward · · Score: 0

      OH SNAP:

      http://www.archhurd.org/

      OP is still a jackass though.

  12. Re:Technological masturbation by MightyYar · · Score: 2

    I could see some use in this. I happen to like FreeBSD and ports - but if you were a Arch Linux expert, now you have a way to get really stable ZFS up quickly without learning a whole new environment.

    --
    W..w..W - Willy Waterloo washes Warren Wiggins who is washing Waldo Woo.
  13. Bad Headline: there's no Linux by Anonymous Coward · · Score: 3, Insightful

    Headline makes it sound like Linux has been ported to BSD. Ten years ago I would have said "That doesn't make any sense," but then User Mode Linux came along (where other operating systems, rather than just hardware, become the port platform target). If you RTFA, though, this does not involve User Mode Linux. It doesn't involve any Linux at all, so it should be left out of the name; it should be called Arch GNU/BSD.

    To put it another way, when you run a certain multimedia player on your NOT-AN-XBOX hardware, you might call that app XBMC. You don't (ever) call it X Box Multimedia Consoleorwhateverthelastwordis, because there's no XBox involved.

    Another analogy (because this is Slashdot where we love such things). I once heard a funny story about an English man who had dark skin, being called an "African-American" by some PC-non-thinker. The dunce would call him African-American, and the English dude would say, "No, I'm not American. I wasn't born in American, I don't live in America, I've never been there. Don't call me American," and the PC guy would think "but you're black, except I'm not allowed to label a person 'black' because the pc police say I have to blindly search-and-replace 'black' with 'African American' so..." and then he'd repeat the mistake.

    That is what you're doing when you call this project "Linux." You sound just as dumb as the "You're African-American" dolt. It's not Linux, just as the black Englishman is not an African-American.

    1. Re:Bad Headline: there's no Linux by Anonymous Coward · · Score: 0

      That is what you're doing when you call this project "Linux." You sound just as dumb as the "You're African-American" dolt. It's not Linux, just as the black Englishman is not an African-American.

      Point taken, "nigger linux" it is then!

      Modded down for politically incorrect attempt at humor in 3,2,1...

    2. Re:Bad Headline: there's no Linux by _Sharp'r_ · · Score: 2

      Even better are all the white folks I've met in America who were born in Africa (South Africa, mostly).

      They tend to be confused why certain people look at them oddly when they claim the title of African-American, even though it much more applies to them than to someone who happens to have dark skin and has no known relations in Africa...

      So yeah, Steve Nash is technically the only "African-American" currently playing for the Lakers, using the "American" part loosely...

      --
      The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
    3. Re:Bad Headline: there's no Linux by kyrias · · Score: 1

      The linux distribution is still called Arch Linux so it would be weird if it said that they ported Arch BSD to FreeBSD

    4. Re:Bad Headline: there's no Linux by Sigg3.net · · Score: 1

      African-American is problematic.
      The term really denotes descendants of American slaves. But what if you are a descendant of a French slave in Paris just visiting USA? Are you African-French? And how about the descendants of French colonists in a former colony? Do these countries have French-Africans and African-Africans?

      It means black.

  14. Re:Technological masturbation by yourlord · · Score: 1

    I'll agree there. It's a nice resume bullet point.

  15. Re:Technological masturbation by yourlord · · Score: 1

    You're right, it's not my time and I'm not going to claim to desire to dictate how they spend theirs.

    I just don't see the value proposition in spending time on this versus spending the time perfecting Arch Linux. I'm not an Arch user, though I'm interested in it. Right now I tend to mainly use Debian, Mint, and FreeBSD. What I'm sure of is that there are bugs and usability issues in Arch that this effort could have been used to address.

    I can appreciate their efforts from a technical standpoint, but in the end they used that time to create a technical novelty that in reality will not see a long term use nor large scale adoption. A sharper and more polished Arch experience would have a tremendously larger impact compared to this.

  16. Re:A Cambodian child dies... by ThePhilips · · Score: 0

    Still better than the weekly news about Firefox version increment.

    And I personally like to keep an eye on the development. Imagine the power of the Linux packaging combined with the BSD kernel. Imagine the sound system which doesn't suck. Imagine the storage, if supported at all, crunching data at half the usual rate. Imagine the unaccelerated graphical interface... ...I digress. But it is still interesting.

    --
    All hope abandon ye who enter here.
  17. Re:Technological masturbation by thoth · · Score: 3, Insightful

    I just don't see the value proposition in spending time on this versus spending the time perfecting Arch Linux. I'm not an Arch user, though I'm interested in it. Right now I tend to mainly use Debian, Mint, and FreeBSD. What I'm sure of is that there are bugs and usability issues in Arch that this effort could have been used to address.

    I didn't read the article (yet... yeah I know) but I can already come up with an answer - maybe this guy's expertise/interest is in low level kernel details that would crop up swapping kernels, instead of in bugs/usability issues which sound UI or user-mode related to me. It's like asking a compiler internals person to fix GNOME 3. Come on, not every developer and their particular skillset is 100% interchangeable with the area that you think needs attention.

  18. There is no GNU/Linux by Anonymous Coward · · Score: 0

    So the technical truth is: "Arch Linux has a version where Linux operating system has been swapped to FreeBSD operating system."

    Yes, that is the truth. There is no "GNU/Linux" and even that both, Linux and FreeBSD are monolithic kernels (== monolithic operating system) they are not "just kernels" like microkernels are.

    GNU/Linux would be true only if Linux would be a microkernel but then it would be HURD/Linux as HURD is the operating system, what use a microkernel. HURD is microkernel + servers == server-client OS architecture != monolithic OS architecture.

    1. Re:There is no GNU/Linux by Anonymous Coward · · Score: 0

      Linux is not an operating system.

      It does not come with bash, or ls, or a shell, or libraries, or anything.

      It's just a kernel.

      Sorry, you may want to review what you think "Linux" is, sounds like you're talking about a distro.

  19. Re:Technological masturbation by neurojab · · Score: 4, Interesting

    >I can appreciate their efforts from a technical standpoint, but in the end they used that time to create a technical novelty that in reality will not see a long term use nor large scale adoption. A sharper and more polished Arch experience would have a tremendously larger impact compared to this.

    Personally, I don't see the point to having a Linux userland with a FreeBSD kernel or vice versa. I'd much rather have a stable system with wide adoption (either Linux or FreeBSD, not some unholy hybrid), but I like the fact that this exists anyway. In the free and open source software world, anyone with interest and time on their hands can do what they want to do. This is in opposition to the closed model where a few decision makers are trying to maximize profit given their resources.

    FOSS works a lot like darwinian evolution. A lot of random mutations occur and most do not survive. A few, however, do survive and become widespread and we are better off for it. Don't think of it as wasted effort, think of it as part of the process.

  20. Re:Technological masturbation by yourlord · · Score: 0

    I'm quite sure they could find some low level mess that needs attention.. There is plenty out there.. Honestly, even if kernel code is what they dream of at night then spending their time testing, validating, and patching problems in either or both of the Linux and FreeBSD kernels would be far more beneficial to the entire FOSS ecosystem than another GNU distro port using the FreeBSD kernel.

    Again, they can spend their time however they want. I just think it's a shame it wasn't spent doing something more beneficial/practical.

  21. Interesting by Anonymous Coward · · Score: 0

    I'm sure this is an interesting project, though I can't imagine many people will want an OS which takes for ever to install and won't run on a lot of consumer hardware. As others have said, the benefit here will probably be patching upstream projects which were not entirely portable.

  22. Re:A Cambodian child dies... by Tarlus · · Score: 2

    Slashdot is exactly the place for news like this to be posted.

    --
    /* No Comment */
  23. Re:Technological masturbation by Anonymous Coward · · Score: 0

    What is an Arch Linux expert?

  24. What timing... by Lawrence_Bird · · Score: 2

    In December I had the opportunity to try Arch out while attempting to get Xen working on a newly built pc. The Xen experiment failed but I did find myself liking the way Arch did things enough to install it on a SD card for my laptop just a week ago, replacing a FreeBSD 8 install. I really keep it there mostly for emergencies so perhaps I'll wipe and reinstall with this new BSD variant. But I'll still be keeping 9.1 on my desktop, at least for now.

  25. More arch! by WizADSL · · Score: 2

    "The Arch Linux distribution has been modified to run off the FreeBSD 9.0 kernel as an alternative to using Linux. The developer of Arch BSD explained his reasoning as enjoying FreeBSD while also liking the Arch Linux philosophy of a 'fast, lightweight, optimized distro,' so he sought to combine the two operating systems to have FreeBSD at its core while being encircled by Arch. The Arch BSD initiative is similar to Debian GNU/kFreeBSD."

    Well, if you want it "encircled" you're gonna need another Arch. Or maybe some cowbell?

  26. Re:Technological masturbation by adolf · · Score: 1

    The answer to your alleged debacle is easy to find: Just follow the money.

    Oh, wait: There isn't any money. It's just a hobby.

    So please, if you want to contribute to the greater good (however you define that), feel free to do so. Otherwise GTFO and STFU.

  27. Re:Technological masturbation by Anonymous Coward · · Score: 0

    Someone who is an expert using Arch Linux. Please try to keep up and don't be so dense.

  28. Woo by Anonymous Coward · · Score: 0

    All 3 users are excited.

  29. Re:Technological masturbation by jones_supa · · Score: 1

    Quite possibly so.

  30. Forums by jones_supa · · Score: 1

    When googling for some Linux answers there often comes up rather insightful posts from the Arch Linux bulletin board. I don't use the distro myself, but I see the smart people in their community as a positive thing.

  31. Re:A Cambodian child dies... by Anonymous Coward · · Score: 0

    go back to pcmag, dumbass.

  32. In a jail? by DarwinSurvivor · · Score: 1

    Does this maen it will now be possible to run Arch in a FreeBSD jail like we can currently do with Debian?

  33. Re:Technological masturbation by Anonymous Coward · · Score: 0

    you are nought but a fucking idiot.

  34. Re:A Cambodian child dies... by Anonymous Coward · · Score: 0

    For crunching data You have to use Crunchbang Linux! ;)

  35. How is Arch Hurd? by unixisc · · Score: 1

    And why don't they take FBSD userland, put it on top of the HURD kernel, and try it out?

  36. BSD userland by Anonymous Coward · · Score: 0

    Their IRC channel says:

    Note: It's BSD userland ignore the sources that say it's GNU userland

    They should have made this clear on the homepage.
    It's not even hidden in a FAQ, as far as I can tell.

  37. Bullshit... by Anonymous Coward · · Score: 0

    You all are a bunch of dumb-fuck, think-you-know-it-alls who really do not possess a smidgeon of actual experience or true knowledge. Talk about wasting time? I am my wasting time berating you fuck-asses for calling this project a waste of time. What you do at work is a waste of time regardless of your worthless jobs. Try posting something meaningful, if even counter-supportive of the article, but for fuck-sake, don't waste every readers' time with pointless...opinionated...intelligence-lacking posts. Good day.