Gentoo Archives: gentoo-dev

From: "Olivier CrĂȘte" <tester@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] rfc: locations of binaries and separate /usr
Date: Sat, 07 Jan 2012 01:00:22
Message-Id: 1325897985.2385.20.camel@TesterTop4
In Reply to: Re: [gentoo-dev] rfc: locations of binaries and separate /usr by Walter Dnes
1 On Fri, 2012-01-06 at 19:41 -0500, Walter Dnes wrote:
2 > On Wed, Jan 04, 2012 at 01:51:26PM -0500, Olivier Cr?te wrote
3 >
4 > > No no no, the idea is that once all binaries are in /usr, you can easily
5 > > share /usr between different systems and do updates in a sane way.. You
6 > > can also mount /usr read-only, but still have / be read-write.
7 >
8 > One size does not fit all. It breaks Gentoo horribly. Here's my setup
9 >
10 > waltdnes@d530 / $ du -s /usr
11 > 3057917 usr
12 >
13 > waltdnes@d530 /usr $ du -s /usr/portage
14 > 1394646 /usr/portage
15 >
16 > waltdnes@d530 /usr $ du -s /usr/src
17 > 665069 /usr/src
18 >
19 > In my 3 gig /usr directory, over 2 gigs are devoted to Gentoo-specific
20 > stuff that a binary distro like Redhat does not require. What do we do
21 > if /usr is read-only? Symlink or bindmount onto it?
22
23 You don't understand the purpose of read-only /usr. It has nothing to do
24 with source vs binary. It is for when you have many machines that are
25 identical or at least similar.
26
27 The idea is that you can mount the same /usr on many machines (using NFS
28 or something like that). So you can have a relatively small / as a r/w
29 nfsroot (containing /etc, /var, /tmp, etc, etc), and then share /usr
30 among all the machines in your cluster or machine room or your many user
31 desktops.
32
33 With the current system, you either have to maintain in sync
34 the /bin, /sbin, /usr, etc separately, making life harder for everyone.
35
36 But clearly, you've never been the sysadmin of that kind of setup.
37
38 --
39 Olivier CrĂȘte
40 tester@g.o
41 Gentoo Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] rfc: locations of binaries and separate /usr Matthew Thode <prometheanfire@g.o> (prometheanfire)