• nyan@sh.itjust.works
    link
    fedilink
    arrow-up
    22
    ·
    6 months ago

    The Gentoo news post is not about having /bin and /usr/bin as separate directories, which continues to work well to this day (I should know, since that’s the setup I have). That configuration is still supported.

    The cited post is about having /bin and /usr on separate partitions without using an iniramfs, which is no longer guaranteed to work and had already been awfully iffy for a while before January. Basically, Gentoo is no longer jumping through hoops to make sure that certain files land outside /usr, because it was an awful lot of work to support a very rare configuration.

    • uis@lemm.eeOP
      link
      fedilink
      arrow-up
      7
      ·
      6 months ago

      /bin and /usr/bin (or sbin) have never been well separated, to the point where many distributions just symlink to /usr anyway.

      They were(see FHS) and you show exactly how broken it became.

      /usr supposed to have files that are needed only after first part of boot procees before mounting filesystems.

        • uis@lemm.eeOP
          link
          fedilink
          arrow-up
          1
          ·
          6 months ago

          And use bigger bandaid. Meanwhile initramfs and split-usr would greatly complement each other.

          • Vilian@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            6 months ago

            of course not, any program that has it own install script install it on /bin because it’s easier, and why need that in a early boot, what’s the difference, was always a workaround, wasn’t needed to complement anything before, and don’t need anything now

  • dinckel@lemmy.world
    link
    fedilink
    arrow-up
    8
    ·
    6 months ago

    I’m curious why the separation between these still exists, because a bunch of distributions symlink all of these to /usr/bin either way

    • uis@lemm.eeOP
      link
      fedilink
      arrow-up
      11
      ·
      edit-2
      6 months ago

      Think about booting over network. Or having /usr on another drive. Including even network drive. Think about dumb terminals(wrong cetury) thin clients. For example they can use small disk to quickly boot wihout downloading kernel and initramfs and use NFS for /usr and /home.

        • uis@lemm.eeOP
          link
          fedilink
          arrow-up
          6
          ·
          edit-2
          6 months ago

          True, network boot is not best example. Shared /usr is much better one. For example if you are school that wants to buy 100 thin clients for very cheap.

    • rotopenguin@infosec.pub
      link
      fedilink
      English
      arrow-up
      3
      ·
      6 months ago

      It exists because, long ago in a galaxy far far away, a sysadmin ran out of space on a drive. The system was split between two 10MB(?) drives, one was / and one was mounted at /usr, for User data. They moved some of the programs to a folder for a dummy user, /usr/bin, and put that in everybody’s PATH.

      Everybody kept on doing things that way ever since. Social momentum is funny that way.

  • Samueru@lemmy.ml
    link
    fedilink
    arrow-up
    8
    arrow-down
    1
    ·
    6 months ago

    Alpine still keeps /bin and /usr/bin separated.

    And iirc the next fedora release will finally unify everything under /usr/bin.