3 ms·
"The /usr/sbin directory becomes a symlink to bin, which means paths like /usr/bin/foo and /usr/sbin/foo point to the same place. /bin and /sbin are already sym
by synergy20 3y ago
"The /usr/sbin directory becomes a symlink to bin, which means paths like /usr/bin/foo and /usr/sbin/foo point to the same place. /bin and /sbin are already symlinks to usr/bin and usr/sbin, so effectively /bin/foo and /sbin/foo also point to the same place. /usr/sbin will be removed from the default $PATH. The same change is also done to make /usr/local/sbin point to bin, effectively making /usr/local/bin/foo and /usr/local/sbin/foo point to the same place. The definition of %_sbindir will be changed to %_bindir, so packages will start using the new directory after a rebuild without any further action. Maintainers may stop using %_sbindir, but don't need to."
the summary is very unclear for new users, was it saying _everything_ is now symlinking to /usr/bin? and /usr/bin is the only real directory the rest is all symlinks? The way of saying "symlink to bin" is just plain wrong or at least ambiguous.
- comex 3y agoI read that as saying that /usr/local/sbin will point to /usr/local/bin which will still be separate from /usr/bin. But /bin, /sbin, and /usr/sbin would all point to /usr/bin.
- chrsig 3y agoit's saying that anywhere that there was an sbin, it now is a symlink to it's sibling bin it's also saying that because /bin and /sbin point to their /usr counterparts, /bin and /sbin will point to /usr/bin So currently: /bin -> /usr/bin /sbin -> /usr/sbin /usr/bin /usr/sbin /usr/local/bin /usr/local/sbin we'll have: /bin -> /usr/bin /sbin -> /usr/bin /usr/bin /usr/sbin -> /usr/bin /usr/local/bin /usr/local/sbin -> /usr/local/bin (all assuming that I'm parsing the description correctly) which all makes sense, we'll have /usr/bin and /usr/local/bin, where the latter is for user-installed executables and the former for system installed executables.
- kuschku 3y agoPreviously, these folders existed: - /usr/bin, aka /bin - /usr/sbin, aka /sbin - /usr/local/bin - /usr/local/sbin Now, these folders exist: - /usr/bin, aka /usr/sbin, aka /bin, aka /sbin - /usr/local/bin, aka /usr/local/sbin
- jodrellblank 3y agoyou are in a maze of twisty little passages, all alike.
- euiq 3y agoI agree that “/usr/sbin directory becomes a symlink to bin” can be confusing for new users, but I don’t think it’s wrong: I interpret this statement as saying that /usr/sbin is going to be a relative symlink with target bin, which would indeed make it resolve to /usr/bin.