On Thursday 24 November 2011, Greg KH wrote:
Hi all,
As a proposal for 12.2, I would like to implement the move of all binaries to /usr/ like is being done at the moment in Fedora.
Here's the details as to why this is a good thing to do, and what is involved in it: https://fedoraproject.org/wiki/Features/UsrMove
The first packages implementing this have already started to land in Fedora's version of Factory.
Before you get worried, there will be symlinks back to /bin and /sbin for those scripts expecting things to be in those locations.
zypper dup would be a real challenge. How you want to merge /bin -> /usr/bin?: mv /bin/* /usr/bin/ rmdir /bin ln -s /usr/bin /bin ? Beside the fact that's high-handed action to do something like this on unknown user's environment it would be much more complicated to make that step atomic to not crash the running system. No matter how good you do it. It's hard to solve the following (minor or major) problems. 1. breaking consistency of installed (non suse) rpms 2. deleting equally named files which the user might have in different *bin. (Don't forget that there are users having make installed things.) 3. breaking over stuff you can't know about. For example what if user has a .git/ whithin every *bin (whyever he should do so is not the question here) 4. messing up output of which --all (and all it could impact) if user has set it's custom $PATH containing all current *bin
We can use the Fedora patches for almost all of this, they are all published at: http://harald.fedorapeople.org/downloads/usrmove/ and a number of upstream projects are already moving their releases over to this as well, which will make things easier.
If there are no major objections, I'll start working on Base:system in December.
Bootup with empty /usr is still possible and used with openSUSE as somebody pointed just a few days ago. BTW Peottering's statement about this is just ridiculous: "I have /usr as a separate partition. What changes for me? - Not sure, how you managed to do that. In general, having /usr as a separate partition does not really work right now." Personally I don't really care about it except that I don't like */sbin */bin merge because it messes up non-admin's TAB completion. (I have it in $PATH anyway). cu, Rudi -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org