4 ms·
Recent Debian and Ubuntu systems symlink (by default, possibly with exceptions) /bin, /sbin, and /lib* to their counterparts in /usr. Older systems may be able
by oftenwrong 7y ago
Recent Debian and Ubuntu systems symlink (by default, possibly with exceptions) /bin, /sbin, and /lib* to their counterparts in /usr. Older systems may be able to perform the merge by installing the "usrmerge" package.
I believe Arch takes it further and combines /bin and /sbin (and /usr/sbin) by symlinking them to /usr/bin.
- the_af 7y agoDo you know in which Ubuntu version this showed up? I just tested on my Ubuntu 16.04 (I know, I know) and they are not symlinked.
- andreareina 7y ago18.04 here, /bin and /usr/bin are still different.
- therealjumbo 7y agoI think it was done in Debian 10 which was released last summer. So you'll probably need a Ubuntu version newer than that.
- oftenwrong 7y agoI believe Ubuntu started being usrmerged-by-default in 19.04 (Disco Dingo), although the release notes do not mention it. On 16.04 you can usrmerge your system by installing the usrmerge package: https://packages.ubuntu.com/xenial/usrmerge https://packages.ubuntu.com/xenial/usrmerge
- kseistrup 7y agoCorrect, ArchLinux symlinks /bin, /sbin and /usr/sbin to /usr/bin.
- shrimp_emoji 7y agoConfirmed on Manjaro (which is Arch-based) as well.
- majewsky 7y agoAlso /lib to /usr/lib.
- gweinberg 7y agoDoesn't this seem backwards? Given that the usr prefix doesn't mean anything anymore, wouldn't it make more sense to just put everything in /bin and keep /usr/bin as a symlink for backwards compatibility and eventually drop it?
- bonzini 7y agoPutting everything in a single directory allows you to mount it from a remote for system with a single mount point. /usr means "the part of the OS that is the same across all hosts".
- gweinberg 7y agoEverything is always in a single directory, it's called "/". I don't see why you think the files under /usr are particularly likely to be remote mounted.
- afiori 7y agoIf you remotely mount "/" then you ran out of namespace for non-remote files.
- sjmulder 7y agoIsn’t that supposed to be share/ and maybe a few others? bin/ and lib/ are architecture specific.
- oat_bravo_nap 7y agoHere are the wiki pages for the move in Fedora and Ubuntu: https://fedoraproject.org/wiki/Features/UsrMove https://fedoraproject.org/wiki/Features/UsrMove https://wiki.debian.org/UsrMerge https://wiki.debian.org/UsrMerge