Fedora 40 Plans To Unify /usr/bin & /usr/sbin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Vermilion
    Senior Member
    • Dec 2021
    • 252

    #11
    Originally posted by poncho524 View Post
    So the FHS doesn't matter?
    Too late for that, it's been largely irrelevant following community initiatives like /usr merge.

    Plus, being too up for interpretation did more harm than good in terms of portability.

    Comment

    • cj.wijtmans
      Senior Member
      • Mar 2016
      • 1404

      #12
      Originally posted by docontra View Post

      "It gets better", Debian is among the exceedingly few GNU/Linux distros that do not add {/usr{/local,},}/sbin to PATH for non-root users by default . Cue many speculative genealogy sessions by me on the spot whenever I wanted some network info on Debian boxen using /sbin/ifconfig , /sbin/route , and /sbin/arp (from before I switched to mostly using ip, which is thankfully on /bin )

      (As for /usr migration, Debian 13 -- Trixie -- will be fully migrated and IIRC Debian 12 -- bullseye -- already installs with merged /usr by default; the issue is packaging -- packages that still install to /{lib,{,s}bin} -- and a somewhat esoteric bug/corner case in dpkg)

      PD: I have no particular horse in this race, but the rationale posted on the Fedora proposed change neatly counters all my arguments for keeping the split .
      Sbin is literally root only. The problem is that those probably should go in bin and not sbin.

      Comment

      • CommunityMember
        Senior Member
        • Oct 2019
        • 1378

        #13
        For better or worse (I would think worse) there are a small handful of packages that I am aware of that have either installed the same, or similar named, binaries in (/usr)/sbin and (/usr)/bin because some other solution hard coded things like /sbin/[name] into those solutions, so you had to have a binary (or link) in (/usr)/sbin in addition to (/usr)/bin (or vice-versa, depending on your approach). A merge may allow cleanup for those packages (and the upstream solutions in a decade or two or three), although it will result in some additional packager work for those handful of packages.

        Comment

        • aviallon
          Senior Member
          • Dec 2022
          • 294

          #14
          Originally posted by cj.wijtmans View Post
          Why not unify /dev /sys etc. And /home /mnt /media /root into /. Heck why not unify everything and every filename is a hash in /.

          more to come destroying linux madness.
          Why is having /usr/sbin separate from /bin useful? Can you elaborate? I cannot think of a use case.

          Comment

          • timofonic
            Senior Member
            • Feb 2008
            • 2692

            #15
            Originally posted by cj.wijtmans View Post
            Why not unify /dev /sys etc. And /home /mnt /media /root into /. Heck why not unify everything and every filename is a hash in /.

            more to come destroying linux madness.
            And then make it a database!

            Seriously, /usr was thst currently /home is. It has no reason to exist. Put that into / and use /home for everything else.

            Comment

            • dlq84
              Senior Member
              • Jul 2012
              • 434

              #16
              Originally posted by cj.wijtmans View Post
              Why not unify /dev /sys etc. And /home /mnt /media /root into /. Heck why not unify everything and every filename is a hash in /.

              more to come destroying linux madness.


              You're just mad we are not using drive letters, aren't you?

              Comment

              • cj.wijtmans
                Senior Member
                • Mar 2016
                • 1404

                #17
                Originally posted by aviallon View Post

                Why is having /usr/sbin separate from /bin useful? Can you elaborate? I cannot think of a use case.
                Huh you cant think of anything? What about a command that works for root only. Sure a command should not work if its root only but why should it be visible to a non root user? /usr/bin is fine for user interactive programs like bash while /bin is fine for the lower operating system. Personally i just made a script for /usr/local/sbin. It has no place in to be in /usr/local/bin because non root user will never interact with it.

                Comment

                • Myownfriend
                  Senior Member
                  • Mar 2021
                  • 1043

                  #18
                  Originally posted by timofonic View Post
                  And then make it a database!

                  Seriously, /usr was thst currently /home is. It has no reason to exist. Put that into / and use /home for everything else.
                  Edit: Oops. Barely awake and misread what you said.Yea, that seems like a good idea.
                  Last edited by Myownfriend; 24 December 2023, 01:54 PM.

                  Comment

                  • ireri
                    Phoronix Member
                    • Oct 2019
                    • 75

                    #19
                    Just put everything inside C:\

                    Jokes aside:
                    Originally posted by timofonic View Post

                    And then make it a database!

                    Seriously, /usr was thst currently /home is. It has no reason to exist. Put that into / and use /home for everything else.
                    No, usr is not "user", it means Universal System Resources, learn that already people.​
                    Last edited by ireri; 24 December 2023, 02:31 PM.

                    Comment

                    • mSparks
                      Senior Member
                      • Oct 2007
                      • 2101

                      #20
                      Originally posted by cj.wijtmans View Post
                      Why not unify /dev /sys etc. And /home /mnt /media /root into /. Heck why not unify everything and every filename is a hash in /.

                      more to come destroying linux madness.
                      Then afterwards they can replace / with C:\

                      Comment

                      Working...
                      X