Gentoo Archives: gentoo-user

From: Tanstaafl <tanstaafl@×××××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01
Date: Sun, 29 Sep 2013 22:54:12
Message-Id: 5248AF6F.4040405@libertytrek.org
In Reply to: Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 by Alan McKinnon
1 On 2013-09-29 5:15 PM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 > Those numbers are not likely to change much with time, with one exception:
3 >
4 > /usr/src
5 >
6 > That can get real big real quick if you don't clean up kernel sources
7 > often. Ideally, you'd make that a suitably sized LV and mount it seperately.
8
9 Yeah, I always keep 2 or 3 known good kernels, and clean out the old
10 stuff, so no worries there.
11
12 > The other space consumer is /usr/share with it's many documentation
13 > files. But those too tend to be stable once you have everything
14 > installed. 5G free out of 19G is ~75% space in use which is perfectly
15 > acceptable for this case.
16 >
17 > Regular monitoring of the state of your machines will tell you if space
18 > usage increases so you can investigate and deal with it timeously.
19 >
20 > I assume you long since moved portage and it's storage directories out
21 > of /usr into /var?
22
23 Hmmm... No, I never did that myself...
24
25 Wow...
26
27 moria : Sun Sep 29, 18:19:01 : ~
28 # du -sh /usr/*
29 85M /usr/bin
30 131M /usr/include
31 0 /usr/lib
32 11M /usr/lib32
33 530M /usr/lib64
34 51M /usr/libexec
35 15M /usr/local
36 7.8G /usr/portage
37 21M /usr/sbin
38 509M /usr/share
39 3.9G /usr/src
40 0 /usr/tmp
41 7.0M /usr/x86_64-pc-linux-gnu
42 moria : Sun Sep 29, 18:26:30 : ~
43 #
44
45 Is this the official gentoo way now? Will a new/fresh virgin install
46 have /var/portage instead of /usr/portage?
47
48 I can eliminate almost 8GB by moving portage and its storage directories...
49
50 I don't recall seeing a news item about that...
51
52 But... is /usr/portage the default/recommended location? If so, then I
53 don't think I want to move it - I generally never change defaults unless
54 there is a very good reason to do so.
55
56 But, is there some official gentoo docs online explaining how to do this?
57
58 Something more to think about...
59
60 Also - is there any kind of maintenance I shoudl be doing on
61 /usr/portage to clean old cruft out? Or does portage maintain it already.
62
63 :)

Replies

Subject Author
Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 Volker Armin Hemmann <volkerarmin@××××××××××.com>
Re: [gentoo-user] Re: separate / and /usr to require initramfs 2013-11-01 Alan McKinnon <alan.mckinnon@×××××.com>