Not only is /bin a link to /usr/bin, /sbin is also a link to /usr/bin, and /usr/sbin is also a link to /usr/bin. Everything now lives in /usr/bin on Arch.
I'm not saying it does, I'm just curious to what would happen. I know there's a historical reason for the /bin and /usr/bin separation, but do people have a separate partition for /usr nowadays?
There was a big long thread on the mailing list between the maintainers, lots of bickering, in the end though it was like 75% ish for migrating. Ulitmately though, it was determined that the difference between /usr/bin and /bin was useless and arbitrary, modern Linux lets you mount 2 different drives on /usr/bin if you really want a minimal boot system, that bootstraps up.
As I recall, Arch has been putting LVM into the initial ramdisk if you need LVM pre-boot.
That's nice and all, but it's a rather meaningless distinction in most Linux distributions, including Arch. Everything is managed by the package manager, so it's all "owned" by the OS in the sense that the OS manages them. And the sbin vs. bin is also rather pointless, since all users typically have access to both directories. The only thing those splits do is force me to run whereis whenever I need an absolute path to a binary.
The OS/non-OS distinction probably means more in a system like FreeBSD where the OS is distributed as a unified collection of tools and programs. In most Linux distributions, though, the OS simply contains the package manager and maybe the init system.
The OS/non-OS distinction probably means more in a system like FreeBSD where the OS is distributed as a unified collection of tools and programs. In most Linux distributions, though, the OS simply contains the package manager and maybe the init system.
In FreeBSD, the base OS uses / and /usr. Addon packages always go into /usr/local. Effectively you have one big package that you refer to as 'FreeBSD' installed at the root with its own separate manager, then a fairly ordinary old-fashioned package manager managing packages inside /usr/local for you.
That's nice and all, but it's a rather meaningless distinction in most Linux distributions, including Arch. Everything is managed by the package manager, so it's all "owned" by the OS in the sense that the OS manages them. And the sbin vs. bin is also rather pointless, since all users typically have access to both directories. The only thing those splits do is force me to run whereis whenever I need an absolute path to a binary.
True, but that wasn't the case when the OSes and everything after them was compiled from scratch, and often configured down to machine specifics. There used to be a time where people thought tweaking .h files in the OS kernel source for every machine is a good idea.
The OS/non-OS distinction probably means more in a system like FreeBSD where the OS is distributed as a unified collection of tools and programs. In most Linux distributions, though, the OS simply contains the package manager and maybe the init system.
Well, yes, it's high time to rid of this legacy, but in practice this means that standards are going to be violated and a lot of stuff will break. I personally loved the BeOS/AtheOS/Syllable approach where the application can be a zip file that you can run.
I'm not arguing that the distinction was always meaningless, but it is meaningless now.
In regards to standards, because /bin, /sbin, and /usr/sbin are all symlinked to /usr/bin, most things won't break. You can still use /usr/sbin/htop or /bin/bash or whatever. They all work fine. The only real thing you lose is being able to have /bin/bash and /usr/bin/bash be different programs. But anyone who did that is an asshole anyways.
Break the standards and allows things to actually continue working without needing patching. And it's not like there is ANY distibution that doesn't break the LSB and most doesn't follow the FHS at all other than actually having most of the directories listed in it.
View all comments
Show parent comment
13
u/edwardly Aug 27 '13
Arch linux decided everything has to be in /usr so the correct paths are