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: Tue, 03 Jan 2012 18:05:49
Message-Id: 20120103175906.GA13702@linux1
In Reply to: [gentoo-dev] Re: rfc: locations of binaries and separate /usr by Duncan <1i5t5.duncan@cox.net>
1 On Tue, Jan 03, 2012 at 05:35:51PM +0000, Duncan wrote:
2 > Ian Stakenvicius posted on Tue, 03 Jan 2012 12:03:32 -0500 as excerpted:
3 >
4 > > On 03/01/12 11:51 AM, William Hubbs wrote:
5 > >
6 > >> For example, consider what happens when bash or all of coreutils
7 > >> migrate to /usr.
8 > >
9 > > ..well, when /bin/sh no longer exists then there -will- be issues,
10 > > system-wide, on a massive scale. Unless shells or environments can
11 > > dynamically map that hash-bang to an appropriate interpreter (ie,
12 > > themselves) automatically.
13 > >
14 > > *shudder*.. I don't even want to think about the migration i'd have to
15 > > do to handle that change.
16 >
17 > FWIW, I was reading a review of [was it GOBO Linux?, some distro that's
18 > famous for reorganizing things much like MS does, a program files dir,
19 > etc], and it was said to still contained a /bin with only a couple
20 > symlinks, /bin/bash and /bin/sh, for this very reason.
21 >
22 > Of course fedora uses an initr* so real-root and /usr will be mounted at
23 > the same time, and they're doing a /bin -> /usr/bin symlink at least for
24 > now, so they don't need to worry about that in the short term either.
25 > Longer term, possibly they'll try to get rid of it, but I expect at least
26 > some form of /bin/sh and/or /bin/bash symlink to remain around for quite
27 > some time.
28
29 Yes, the symlinks will be around for some time for this reason, but,
30 /bin/sh will point to /usr/bin/bash, so you have the same affect if /usr
31 is not mounted since the symlink can't be resolved.
32
33 William