Slashdot Mirror


Dynamic Root Support For FreeBSD Now Available

Dan writes "FreeBSD's Gordon Tetlow has committed his enhancements to enable users to build /bin and /sbin dynamically linked on FreeBSD. His reason to do this is two-fold. One is to give better support for PAM and NSS in the base system. The second is to save some disk space. Currently (on his x86 box), /bin and /sbin are 32 MB. With a dynamically linked root (and some pruning of some binaries), the /bin, /lib, and /sbin come out to 6.1 MB. This should be great for people with 2.x and 3.x era root partitions that are only about 50 MB. Gordon says that there will be a performance hit associated with this. He did a quick measurement at boot and his boot time (from invocation of /etc/rc to the login prompt) went from 12 seconds with a static root to 15 seconds with a dynamic root."

112 comments

  1. bad bad bad by Tirel · · Score: 5, Insightful

    not only will this affect performance, but it will also make it impossible to recover a server if you accidentally delete /usr,

    there are less and less reasons to use seperate partitions for root directories, and this is *NOT GOOD*

    1. Re:bad bad bad by Fweeky · · Score: 4, Insightful

      Er, why? /bin, /sbin and /lib should all be on the same partition, and if you're really screwed, that's what /rescue is for.

    2. Re:bad bad bad by Nizzt · · Score: 5, Informative

      Thats why the librarys are in /lib not /usr/lib

    3. Re:bad bad bad by cperciva · · Score: 5, Informative

      it will also make it impossible to recover a server if you accidentally delete /usr

      No. The libraries used by stuff in /bin and /sbin are being moved into /lib, so everything which is being changed from static to dynamic will still work even if /usr is gone.

      Also note that /rescue is still static (and crunched).

    4. Re:bad bad bad by jkujawa · · Score: 2, Informative

      The point of static binaries in /bin and /sbin is not only being able to mount /usr of a file server, but also being able to recover if you kill ld.so.

    5. Re:bad bad bad by Anonymous Coward · · Score: 2, Informative

      not only will this affect performance, but it will also make it impossible to recover a server if you accidentally delete /usr,

      Only if you do something stupid, like put critical system libs into /usr. The binaries in /bin and /sbin shouldn't rely on anything in /usr, only libraries in /lib.

    6. Re:bad bad bad by Anonymous Coward · · Score: 1, Informative

      Why would you kill ld.so? You might as well argue that statically linked binaries aren't suitable either, because you can accidentally kill the actual executables themselves.

    7. Re:bad bad bad by Anonymous Coward · · Score: 0
      Fweeky, ask youself this simple question,
      Why is FreeBSD dying?
      I think you will find the answer is self-evident.
    8. Re:bad bad bad by ctr2sprt · · Score: 4, Insightful

      It's not good as a default, but it's good as an option. So while I hope FreeBSD installs still come with a static bin+sbin, it's nice to have the option, on a make world, to change the behavior if I decide I need to. It's added flexibility without any added complexity. What more could you want?

    9. Re:bad bad bad by Arandir · · Score: 2, Funny

      Screw /usr. I still want to know how to recover the server after I accidentally deleted / last week...

      --
      A Government Is a Body of People, Usually Notably Ungoverned
    10. Re:bad bad bad by shlong · · Score: 4, Informative

      " not only will this affect performance, but it will also make it impossible to recover a server if you accidentally delete /usr,"

      What wasn't mentioned in the write-up is that /rescue contains statically-link versions of the tools that one would need to recover from problems. It might not be able to recover a deleted filesystem, but if you're trouncing careless around like that then there are plenty of other ways to shoot your feet off too.

      --
      Cat, the other, tastier white meat.
    11. Re:bad bad bad by Anonymous Coward · · Score: 0

      *BSD is already dead. There's no need to kill anything.

    12. Re:bad bad bad by R.Caley · · Score: 2, Informative
      Screw /usr. I still want to know how to recover the server after I accidentally deleted / last week...

      Stick in the fixit cdrom.

      You do keep a copy of /etc somewhere don't you?

      --
      _O_
      .|<
      The named which can be named is not the true named
    13. Re:bad bad bad by Anonymous Coward · · Score: 0

      If you delete /usr, you won't have much of a server left anyway. Your point?

    14. Re:bad bad bad by Anonymous Coward · · Score: 0
      Junior, BSD is dead. This implies FreeBSD is dead. What part of dead don't you understand?
      1. Grieve.
      2. Get over it.
      3. Move on.

      You're a big boy now. High time you started acting like one.

    15. Re:bad bad bad by Anonymous Coward · · Score: 0
      BSD is dead.

      End of story.

    16. Re:bad bad bad by Anonymous Coward · · Score: 0
      Check this out:
      FreeBSD is dying
  2. Re:Linux distro's already do this. by __past__ · · Score: 2

    Mostly because very, very few people think that this is a good idea.

  3. 25% by craig2787 · · Score: 0

    That's a 25% peformance hit for booting! Just imagine a script that runs those programs often.

    I'll keep 4.X thanks. Maybe I'll try DFBSD.

    1. Re:25% by Anonymous Coward · · Score: 2, Informative

      This is just an option. The default way is still via static binaries.

      This won't change for some time (wheather it will change at all still has to be discussed).

    2. Re:25% by __past__ · · Score: 1
      Or you could just build your 5.x world without the WITH_DYNAMICROOT option.

      Not that Dragonfly doesn't look interesting, but, erm, I guess I'll give it some time to mature before I consider it for any critical system. My next update will definitely be to FBSD 5-STABLE.

    3. Re:25% by Marillion · · Score: 1

      Not really, The binary is smaller, the execution loader caches the common code, both in memory and from disk. By increasing the amount of common code, those utilities should actually load faster.

      --
      This is a boring sig
    4. Re:25% by JDizzy · · Score: 3, Insightful

      It really depends if your a pesimist, or an optimist. Yes 3 units of 12 is indeed 25%, and since it is 3 units over 12 to 15 it could be seen as an additional 25% extra time. The more correct way to look at it is from the point of view for the number 15. aka the boot was an entire 1/5 faster without dynamic bins.

      Besides, there have also been improvements in caching libs in conjunction with linking so that dynamic bin's always load faster. It could also be possible to make certain /bin and /sbin stuff static, but thats what /rescue is for with the crunched bins. Besides, this will only lead to a more optimised ld program and linking system there after. Not having the entire bulk of libc repliated allover the place in /bin and /sbin is entirly acceptible to me. Architecturally speaking that is a big faux pax to leave such a clutter. This is why elf was devised in the first place, and slow to implement Operating Environments is partly to blame for the hindering of cool features like dynamic linking tricks such as thosed used in pam and nss. This is, after all, the reason we have libraries.

      --
      It isn't a lie if you belive it.
    5. Re:25% by moncyb · · Score: 2, Interesting

      How about some utils which are written in assembly and are not dependent upon other libs? They're faster and smaller. You may want to look at LinuxAssembly.org's asm utils. They say it works for FreeBSD and other BSDs, though I haven't tested this myself (yet). When I tried them in Linux a few years ago, they weren't quite complete, but being small and independent has its advantages. When it's complete (maybe it is now?), I imagine these programs will be the choice for those who want to save disk space or speed up their system. Such a project would work in C. If it was in C, it would probably get more developers on board too...

    6. Re:25% by craig2787 · · Score: 1

      Riiiiight. Thats under a meg a minute. Clearly this is a fabricated post. Show me some ps and vmstat/etc output, and i will newfs freebsd off right away.

    7. Re:25% by Groganz · · Score: 1

      And destroy the portability of the system to other archs while you are at it...

    8. Re:25% by Anonymous Coward · · Score: 0
      It all comes down to one simple easily comprhended truth,
      *BSD is dying
    9. Re:25% by adri · · Score: 1

      Actually, there's overhead in the loader - resolving symbols and checking libraries takes a while.

  4. good and bad here by josepha48 · · Score: 4, Informative
    This is good in the case of people who want to run a system off a cdrom or floppy or flash memory. On a cdrom you don't need to worry about deleteing /usr cause it should be burned into the cdrom. Also any partitions that you need end up in ram / memory disks. /dev is a good example of a ram disk. By having a smaller /bin and /sbin one can suddenly have nice small routers / gateways using freebsd, instead of Linux.

    I'd imagine that if NetBSD and OpenBSD don't already have this ability it will be a matter of time as the BSD's share much between each other. Just look at the realpath vulnerability that they all were affected by.

    --

    Only 'flamers' flame!
    Does slashdot hate my posts?

    1. Re:good and bad here by vesamies · · Score: 3, Informative

      NetBSD is also using dynamic /bin, /sbin, not sure what OpenBSD is doing. This is not much of an ability since /usr/bin, /usr/sbin have always been dynamic, now everything is dynamic. Well, looks like everyone has all-dynamic system now, which is good.

    2. Re:good and bad here by MobyTurbo · · Score: 2, Informative
      I'd imagine that if NetBSD and OpenBSD don't already have this ability it will be a matter of time as the BSD's share much between each other.
      NetBSD has had dynamic root (with /rescue, etc.) in -current for months. :-)
    3. Re:good and bad here by JDizzy · · Score: 2, Informative

      I'd imagine that if NetBSD and OpenBSD don't already have this ability it will be a matter of time as the BSD's share much between each other.

      Silly didn't you know that FreeBSD is stealling this from NetBSD's dynamic world? Well they are. FreeBSD has also taken the idea of a /rescue incase one of the libs that is dynamicly linked by (say init) is damaged. This was also a NetBSD idea. I guess that leaves OpenBSD to make the changes, but they probably think dynamic bins is insecure or some shit because an attacker would simply replace a lib that contains harmfull code-fu.

      --
      It isn't a lie if you belive it.
    4. Re:good and bad here by Geekboy(Wizard) · · Score: 1

      I don't want OpenBSD to have it. What happens if you kill ld.so? You are *FUCKED*. At least now, when I kill it, I can at least use mv to copy back my good copy with static libs. Disk space is cheep, get over it, and make / a bit bigger.

    5. Re:good and bad here by little_fluffy_clouds · · Score: 1

      NetBSD already moved to dynamic root and /rescue earlier this year.

      --
      What were the skies like when you were young?
    6. Re:good and bad here by Anonymous Coward · · Score: 0

      NetBSD has already made this change, including pioneering the /rescue concept. FreeBSD just appropriated it from NetBSD.

    7. Re:good and bad here by Anonymous Coward · · Score: 0
      Fact: *BSD is dying

      It is common knowledge that *BSD is dying, that ever hapless *BSD is mired in an irrecoverable and mortifying tangle of fatal trouble. It is anybody's guess as to which *BSD is the worst off of an admittedly suffering *BSD community. The numbers continue to decline for *BSD but FreeBSD may be hurting the most. Look at the numbers. The loss of user base for FreeBSD continues in a head spinning downward spiral.

      OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of BSD 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 marketing surveys show that *BSD has steadily declined in market share. *BSD is extremely sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among amateur hobbyist dilettante dabblers. In truth, for all practical purposes *BSD is already dead. It is a dead man walking.

      Fact: *BSD is dying

    8. Re:good and bad here by josepha48 · · Score: 1
      Its not a requirement that you have it in FreeBSD AFAIK, its an option. Also if you are talking about flash cards / CDROM where you have about 650 Megs limit or older machines that cant handle a bigger disk then this will allow more stuff to be installed or a smaller install. There are people who use 128Meg flash cards to run BSD / Linux from as a firewall.

      Not sure how you'd kill ld.so, I'm guessing your talking about rm -rf ld.so. Yeah you'd be screwed, but there is such thing as a rescue CD or upgrading the system.

      --

      Only 'flamers' flame!
      Does slashdot hate my posts?

    9. Re:good and bad here by Anonymous Coward · · Score: 0

      you could always go back and static compile the stuff you consider critical yourself. As far as stuff in /bin and /sbin that's usually not too much.

  5. Re:Linux distro's already do this. by phoenix_rizzen · · Score: 5, Interesting

    "Because Linux does it" is not always a good reason to do something. Linux developers tend to throw anything and everything they can into the mix. BSD developers tend to watch what others do, research the pros/cons, then develop a plan on how to do it right ... before tackling the coding.

    Hence, while Linux distros tend to get things first, BSD tends to get things right. :)

  6. Re:Linux distro's already do this. by Anonymous Coward · · Score: 0, Insightful
    What utter nonsense. Linux developers and BSD developers are cut from the same cloth. Neither group has a monopoly on "research" or "getting things right". Your assertions are no more truthful than what I'd expect from a troll.

    By the way, what are your credentials? I've never seen you contributing anything technical to any operating system project.

  7. My understanding... by devphil · · Score: 3, Interesting


    ...was that, in earlier *nixes, sbin programs were always statically linked, to avoid problems with requiring /usr, or accidentally damaging the dynamic loader, or still functioning while restoring dynamic libs from tape, etc, etc.

    Not necessarily FreeBSD, but just some flavor of Unix. The versions of Digital Unix (under different names) which I teethed on were designed like this.

    It's always annoyed me that Linux's [/usr]/sbin was dynamically linked.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:My understanding... by Ezdaloth · · Score: 1

      You do know of "/stand", do you ? The utils also on the boot-floppies. Those are still statically linked.

    2. Re:My understanding... by Anonymous Coward · · Score: 0
      Show us any empirical evidence were dynamic linking is a real problem rather than a theoretical one.

      Phil, you do a search of the mailing lists, Usenet, IRC logs, chat rooms, and journals. Then you show us *anywhere* that of the tens of millions of installations where everything is dynamically linked that this has contributed to any problems.

      You're blowing smoke, Phil. Why don't you act more like a scientist and less like Oprah's Dr. Phil. We are not interested in your feelings. However if you can provide a documented and exhaustive set of verifiable case histories, that evidence not only would that support your feelings, it would also be a great contribution to the advancement of our knowledge of computer systems.

      Until then we must regard you as Dr. Phil's dumber brother. Tough love, baby.

  8. What about independent of external libs? by moncyb · · Score: 2, Interesting

    It's good that they are trying to save disk space, but why don't they just rewrite them so they don't use libc? Linux assembly.org is working on such a project, though it doesn't have to be in assembly. I've done some work using direct syscalls in Linux with C (look at /usr/include/asm--start with unistd.h). I haven't looked at FreeBSD in this way yet, but I think it can be done. At the very least, simple utilities like cp and ln could be written this way. Save disk space and be staticly linked--good all the way around.

    1. Re:What about independent of external libs? by Piquan · · Score: 2, Insightful

      Because there's a lot of logic in, say, PAM or NSS, which are needed often in /bin and /sbin. You could write that into each program, but then you'd have to update them all each time you found a bug or needed to add a feature. You could share a .o file between them, and then it's the same thing as statically linking them in the first place.

    2. Re:What about independent of external libs? by josepha48 · · Score: 2, Insightful

      You should look at the uClibc project which is trying to make a smaller libc for small floppy based distros. Also busybox, can be used to make a smaller system. Progamming in assembly is not pretty.

      --

      Only 'flamers' flame!
      Does slashdot hate my posts?

    3. Re:What about independent of external libs? by R.Caley · · Score: 1
      It's good that they are trying to save disk space, but why don't they just rewrite them so they don't use libc?

      Because reinventing wheels is generally a Bad Thing?

      Better to work to make libc smaller, or restructure it so that small utilities only drag in what they absolutely need.

      --
      _O_
      .|<
      The named which can be named is not the true named
    4. Re:What about independent of external libs? by Anonymous Coward · · Score: 0

      You're perfectly welcome to reimplement version 1 Unix.

    5. Re:What about independent of external libs? by moncyb · · Score: 1

      Why thank you. I'm glad I have your permission now. I just might do that--I already have ls, sleep, touch, uname done. ;-)

    6. Re:What about independent of external libs? by moncyb · · Score: 1

      Why? Do programs such as cp, ln, and touch really need libc? Why make something the size of a small paperback book connected to four huge wheels when you can just carry it around in your pocket?

      Better to work to make libc smaller, or restructure it so that small utilities only drag in what they absolutely need.

      So you are saying rewrite libc? Is this not reinventing the wheel? Not that it is a bad idea, but how is it different?

    7. Re:What about independent of external libs? by moncyb · · Score: 1

      Yeah, but ln and cp do not need PAM or NSS or libc, so why use them?

      You could share a .o file between them, and then it's the same thing as statically linking them in the first place.

      Indeed, but then you are not statically linking in the entire libc system, which is the problem. I'm not against linking a bunch of .o files together, I just don't see the point in cramming tonnes of libc functions into a binary which doesn't need them and ends up more bloated as a result.

    8. Re:What about independent of external libs? by R.Caley · · Score: 1
      Why? Do programs such as cp, ln, and touch really need libc?

      No program ever needs a library. You could always implement everything from the ground up. The point of having libraries is to share the code. Re-implementing parts of the standard library in each utility is, apart from the wasted effort, just a way of creating more places for bugs to live.

      So you are saying rewrite libc? Is this not reinventing the wheel?

      No, it's software development. You fix the one piece of code which does a job so that it is useful in more places rather than writing a dozen independent pieces of code to do the same job.

      --
      _O_
      .|<
      The named which can be named is not the true named
    9. Re:What about independent of external libs? by Piquan · · Score: 1

      Indeed, but then you are not statically linking in the entire libc system, which is the problem.

      When you statically link, you only link in what you need. It doesn't suck in all of libc.a, only the .o files that are necessary. (Remember that a .a is an archive of .o files.)

  9. Re:Linux distro's already do this. by phoenix_rizzen · · Score: 1

    Yeesh, lighten up, eh? There's a reason for the :) in the above post.

    All I was saying was that "Because Linux has it" is not a good enough reason to implement a feature. That would be like saying "Why doesn't Linux support VBScript in the kernel? MS Windows has it, so it must be good."

    As to my credentials, what does that have to do with anything??

    Ah well, what can one expect when posting to Slashdot? :D

  10. Re:Developer laments: What Killed FreeBSD by beefdart · · Score: 1, Troll

    BSD is Dead??

    http://uptime.netcraft.com/perf/reports/Hosters

    I guess Linux-Kiddies can't read.

    Choke on it and die.

  11. Re:Linux distro's already do this. by Arandir · · Score: 4, Interesting

    Hence, while Linux distros tend to get things first, BSD tends to get things right.

    Actually, BSD gets a lot things first. First to have a commercial support, first to have a free and complete operating system, and first to get sued by obnoxious companies :-). More recently, first to implement IP6, Serial ATA, Hyperthreading, etc. I would have to check, but I think they got USB and Firewire first as well.

    --
    A Government Is a Body of People, Usually Notably Ungoverned
  12. Re:Linux distro's already do this. by Anonymous Coward · · Score: 0

    First to die, sure. It will be in 2027, with Linux close behind in 2028. SCO will finally wither and blow away as there's no one left to sue to keep their cash flow positive.

  13. Re:Developer laments: What Killed FreeBSD by Anonymous Coward · · Score: 0

    ROFL the joys of BSD jealousy!

    -- Start --

    1 www.nyi.net New York Internet FreeBSD 0.00 0.387 0.034 0.075 0.186 176 20 ... ... ... ... ...
    52 www.he.net www.he.net Linux 6:52:39 31.94 0.203 0.152 0.348 0.571 50 11

    -- End --

  14. Re:Linux distro's already do this. by Anonymous Coward · · Score: 0

    Look at the numbers. The loss of user base for FreeBSD continues in a head spinning downward spiral.

    Really? Where are these numbers? And, do us a favor when you show these numbers, clean the fecal material off of them.

  15. Re:Linux distro's already do this. by Ezdaloth · · Score: 1

    NetBSD was the first (free unix-like OS) to have USB indeed.

  16. That's just for the initial penalty. by Ayanami+Rei · · Score: 1

    Subsequent runs of said binaries will be just as fast (and perhaps faster) as your cache usage will be optimized with libc mapped once.

    Isn't this the tradeoff for lots of neat optimizations? A little extra overhead at the start for amortized gains?

    --
    THIS THING CAN TURN ON A DIME, MACROSSZERO STYLE ALSO FUCK BETA, ~NYORON
    1. Re:That's just for the initial penalty. by Anonymous Coward · · Score: 0

      if a utility will start longer than it will run, the tradeoff is useless

  17. Portability between archs. by moncyb · · Score: 1

    Yes, these programs don't work on non-IA32 systems, but if someone needs to save space or wants more speed and they have an IA32 system, why not use them? The same thing could be done in C, thus preserving portability...

  18. Re:Linux distro's already do this. by Anonymous Coward · · Score: 0

    USB - shipping brefore Apple shipped USB based macs
    FireWire - There was one project in the 1990's (1995 I believe) that used the IEEE spec for moving about files.
    Video capture - Matrox Meteor drivers back in 1995.

  19. The Failure of *BSD by Anonymous Coward · · Score: 0

    The Failure of *BSD
    .
    Of course we can all agree that BSD is a failure, but why did BSD fail Once you get past the fact that BSD is fragmented between a myriad of incompatible kernels, there is the historical record of failure and of failed operating systems. BSD experienced moderate success about 15 years ago in academic circles. Since then it has been in steady decline. We all know BSD keeps losing market share but why Is it the problematic personalities of many of the key players Or is it larger than their troubled personalities
    The record is clear on one thing no operating system has ever come back from the grave. Efforts to resuscitate BSD are one step away from spiritualists wishing to communicate with the dead. As the situation grows more desperate for the adherents of this doomed OS, the sorrow takes hold. An unremitting gloom hangs like a death shroud over a once hopeful BSD community. The hope is gone; a mournful nostalgia has settled in. Now is the end time for BSD.

  20. Bob Hope joins the BSD team by Anonymous Coward · · Score: 0
    We must report with a heavy heart that Bob "I'm still dead" Hope has gone on to join the "B" team.
    As you all may know, BSD has been part of the "B" team for quite some time.

    The Year of Our Lord 2003 has been a particularly bad year for the "B"s,

    • Bob Hope
    • Buddy Ebsen
    • Buddy Hackett
    • Barry White
    • BSD
    This honored list of dead is but a small tribute from the many fans of the deceased.
    These dead were truly some American Icons. They will be missed.
  21. speaking out by Anonymous Coward · · Score: 0
    Too bad the truth hurts, but at the Slashdot kindergarten you get modded down for speaking the truth.

    BSD is more or less dead. It doesn't mean that no one at all uses it. However, BSD is slowly fading into oblivion. That is the truth. It is a hobby project mostly. Of course I don't care what anyone wants to play with. That is your business. But nevertheless there should not be an intentional cover up of the truth.

  22. Blink by timotten · · Score: 2, Interesting

    enable users to build /bin and /sbin dynamically linked on FreeBSD

    I am having difficulty parsing this, and neither the article nor the comments here help me. This is my best guess. Someone please correct me.

    SITUATION: For some executable program $P in /bin or /sbin; for some executable library $L in /lib; there exists some subroutine $p in $P and some object $l in $L such that $p uses $l.

    OLD BEHAVIOR: When building $P, static-linker resolves name "$l", yielding an address or the desired data.

    NEW BEHAVIOR: When executing $P, dynamic-linker resolves name "$l", yielding an address or the desired data.

    DETAILS OF CHANGE: The kernel enforced the old behavior by examining every request sent to the generic 'dynamic-link' facility and blocked any requests which involved programs which happened to be in /bin or /sbin. The new behavior is achieved by removing the arbitrary, stupid prohibition.

    ALTERNATIVE DETAILS OF CHANGE: The old behavior was enforced by the build scripts for $P and $L; we didn't want our super-important $P to be disturbed if something as lame as the dynamic linker crapped out on us. The new behavior is achieved by changing some compiler flags. We will all die when the dynamic linker craps out.

    1. Re:Blink by Anonymous Coward · · Score: 0

      erm, no.

      Statically linked libraries are built into the executable, which means they don't depend on any .so files.

      Ie: program foo depends on libfoo. At compile time, you can setup foo to

      1) statically link your version of libfoo into foo, or
      2) have the executable grab whatever .so version of libfoo is available on the computer foo is running on.

      The drawback for static linking is that it increases executable size, dramatically so if you have a large set of programs that use the same library. The upside is that it's a bit faster (no dynamic loading of libraries has to be done), and if user XYZ doesn't have libfoo installed (or the particular version of libfoo that you need), they can still use your program.

      Does that help?

  23. *BSD - the death is hurting... by Anonymous Coward · · Score: 0

    When the day is long and the night, the night is yours alone,
    when you're sure you've had enough of this OS, well hang on.
    Don't let yourself go, everybody cries and *BSD hurts sometimes.

    Sometimes everything is wrong. Now it's time to sing along.
    When your day is night alone, (hold on, hold on)
    if you feel like letting go, (hold on)
    when you think you've had too much of this life, well hang on.

    *BSD hurts. Take comfort in your friends.
    *BSD hurts. Don't throw your hand. Oh, no. Don't throw your hand.
    If you feel like you're alone, no, no, no, you are not alone

    If you're on your own in this life, the days and nights are long,
    when you think you've had too much of this life to hang on.

    Well, *BSD hurts sometimes,
    everybody cries. And *BSD hurts sometimes.
    And *BSD hurts sometimes. So, hold on, hold on.
    Hold on, hold on. Hold on, hold on. Hold on, hold on. (repeat & fade)
    (*BSD hurts. You are not alone.)

  24. Re:Developer laments: What Killed FreeBSD by peterpi · · Score: 1

    But not as we know it.

  25. *BSD is dying by Anonymous Coward · · Score: 0
    Fact: *BSD is dying

    It is common knowledge that *BSD is dying. Everyone knows that ever hapless *BSD is mired in an irrecoverable and mortifying tangle of fatal trouble. It is perhaps anybody's guess as to which *BSD is the worst off of an admittedly suffering *BSD community. The numbers continue to decline for *BSD but FreeBSD may be hurting the most. Look at the numbers. The loss of user base for FreeBSD continues in a head spinning downward spiral.

    OpenBSD leader Theo states that there are 7000 users of OpenBSD. How many users of BSD 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 marketing surveys show that *BSD has steadily declined in market share. *BSD is extremely sick and its long term survival prospects are very dim. If *BSD is to survive at all it will be among hobbyist dilettante dabblers. In truth, for all practical purposes *BSD is already dead. It is a dead man walking.

    Fact: *BSD is dying

  26. Why bother? by pla · · Score: 1

    I fail to see the benefit of this.

    A 25% absolute performance penalty, at the relative "gain" of 82% of a small part of the filesystem. However, compared to even an incredibly small (by today's standards) 1GB partition, you talk about saving only 2.5% of the total disk space. On any reasonable drive, this would equal far less than 1% savings.

    Now, in an embedded environment, such a savings might make a noticeable difference. However, in an embedded environment, you wouldn't have every app ever considered useful in /bin and /sbin, only those critical to basic system functioning (or better yet, something like a FreeBSD equivalent to BusyBox (which I've used to create embedded Linux distros that needed to fit in 8MB of flash and have basic X functionality), for a whopping 300k).

    As for "people with 2.x and 3.x era root partitions"... C'mon, really... Throw in the "older means better" towel and upgrade. Seriously. I have single OGG files (of full CDs) larger than 50MB. Hell, I gave up on DOS 3.3 because of the 32MB partition limit nearly a decade ago. Upgrade. Upgrade. Upgrade! Sometimes "obsolescence" doesn't need to have the word "planned" in front of it, you just need to accept that PC-level hardware has vastly improved since limitations like that seemed even remotely acceptible.

    So... Can someone explain why this matters, beyond the "because we can" factor?

    1. Re:Why bother? by insomaniac · · Score: 1

      Well, I can try.

      In a typical FreeBSD installation you make the root partition (/) quite small, these days 128MB to 256MB. This is to make the chance that when something happens that could damage your hard disk, the chance of it damaging your root and leave your system unbootable is minimal.
      This makes the chance that you can get to single user mode and run fsck on the damaged partitions bigger.
      In FreeBSD 2.x and 3.x the default root was even smaller and this made upgrading to 4.x in the general make buildworld sense nigh impossible, this might help the people with legacy machines to upgrade.

      --
      The way to corrupt a youth is to teach him to hold in higher value them who think alike than those who think differently
  27. Re:Linux distro's already do this. by Anonymous Coward · · Score: 0

    Does any version of FreeBSD support the silicon image SATA controllers ?. I tried a few months ago and couldn't find anything about it. I spent a evening trying to install either freebsd 4.8 and 5.0 and the boot disks/cd's didn't seem support it. Nor could I find any reference online for enabling SATA support :). I gave up in the end and install gentoo.

  28. Re:Developer laments: What Killed FreeBSD by Anonymous Coward · · Score: 0

    Unless I counted wrong, there were 11 BSD hosts and 14 Microsoft hosts in there.

  29. YHBT. YHL. HAND. by Anonymous Coward · · Score: 0

    The original poster was talking about MacOS, and this troll was very slightly altered to say BSD.

    Keep this at hand as a lot of you seem to be falling to "YHBT".

    -uso.

    1. Re:YHBT. YHL. HAND. by Anonymous Coward · · Score: 0

      I see that now. I am a tard.

  30. Dynamically linked? by Anonymous Coward · · Score: 0

    isn't that all the shit that windows does and part of the reason those that have to use it end up rebooting quite often?

  31. /sbin is the "STATIC BIN" by billstewart · · Score: 1

    Arrgh! If you're not going to statically link the stuff, don't put it in /sbin! Arrrgh.

    --

    Bill Stewart
    New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
  32. Re:Linux distro's already do this. by Valar · · Score: 1

    Eh. It's not exactly universal though. OpenBSD doesn't even do MP, much less hyperthreading (if you think these are two very different issues, go read the god damn IA-32 System Developer Manual). Acttually, I think NetBSD is the same deal right now. FreeBSD has MP though.

  33. BSD is dead by Anonymous Coward · · Score: 0
    You know it. I know it. We all know it.

    Everyone knows: *BSD is dying