Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: rfc: locations of binaries and separate /usr
Date: Mon, 02 Jan 2012 14:54:12
Message-Id: 20120102144834.GA4582@linux1
In Reply to: [gentoo-dev] Re: rfc: locations of binaries and separate /usr by Duncan <1i5t5.duncan@cox.net>
1 On Mon, Jan 02, 2012 at 05:39:39AM +0000, Duncan wrote:
2 > Olivier CrĂȘte posted on Sun, 01 Jan 2012 15:17:50 -0500 as excerpted:
3 >
4 > > On Sun, 2012-01-01 at 12:46 -0600, William Hubbs wrote:
5 > >> I don't think the /{bin,sbin,lib} and /usr/sbin directories should be
6 > >> deleted.
7 > >>
8 > >> However, what I would like to see is that the package maintainers would
9 > >> be responsible for creating any compatibility symlinks their package
10 > >> needs, not portage. I don't think it is a good idea to have portage or
11 > >> any package manager controling the migration.
12 > >
13 > > The other option is to do mv /bin/* /sbin/* /usr/sbin/* /usr/bin; and
14 > > then create symlinks from the other dirs to /usr/bin.. That can be done
15 > > in big move, it's the way Fedora is going to do it.
16 >
17 > That's what I had in mind, and in fact have already been thinking about
18 > trying, here.
19 >
20 > Which is why I don't really like the idea of packages placing symlinks,
21 > since then it'd likely be the symlink copied last, overwriting the actual
22 > binary with the symlink... pointing at itself due to the symlinked dirs!
23
24 If we don't use symlinks at all, we do not have to
25 force everything in one big move like this, just allow the
26 package maintainers to update things as new releases come out or do rev
27 bumps to move their packages. Eventually everything will be off of
28 /{bin,sbin,lib} and be installed in /usr.
29
30 William