Gentoo Archives: gentoo-user

From: James Ausmus <james.ausmus@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How often -uD world?
Date: Fri, 11 Sep 2009 01:00:16
Message-Id: b79f23070909101800na61b0aat664e4c28b57b6ad6@mail.gmail.com
In Reply to: [gentoo-user] How often -uD world? by Maxim Wexler
1 On Wed, Sep 9, 2009 at 6:52 PM, Maxim Wexler <maxim.wexler@×××××.com> wrote:
2
3 > HI group,
4 >
5 > My netbook has only (4+8)G of sketchy SSD + SDHC RAM for everything
6 > and I am determined not to emerge anything I don't really need.
7 >
8 > But now that I'm mobile I have the capability of doing a -uD world
9 > whenever it's required without having to take days of dialup time.
10 >
11 > Question is, when's that? I assume with fewer packages, updating is
12 > not as urgent as on a big desktop with lots of HD space and lots of
13 > apps.
14 >
15 > Is there some sort of rule-of-thumb when it comes to timing or spacing
16 > their updates that members use to keep gentoo happy?
17 >
18
19
20 For my wife's EeePC-901 (4GD SSD, and that's it...), I do all my compiling
21 on a chroot on my desktop box, with things like /var/tmp, /usr/portage, and
22 other non-critical-for-system-use-but-critical-for-portage-to-run
23 directories bind-mounted to alternative locations outside the chroot on my
24 desktop HDD - I then exit the chroot, unmount everything from under the
25 chroot, then copy the image over to a 4GB SD card, then ultimately (after
26 booting/running the SD card for a week or so to make sure it's all working
27 smoothly) copy the SD card image over to the internal SSD. The resultant
28 image with KDE 4.2.x, Firefox, Openoffice 3.x, and all the pieces you could
29 really want, is about 2GB.
30
31 As far as updating, I wait until there is a very compelling reason to
32 upgrade (just started rebuilding the chroot with KDE 4.3.1, and kernel
33 2.6.31), then I repeat the process. I encourage my wife to keep her data on
34 an SD card instead of the internal SSD (which is fairly easy, since the
35 internal SSD on those things are slower than molasses), and any misc
36 data/prefs files that she cares about are easy to copy over.
37
38 If I had to do everything on the netbook, with no assistance from my
39 desktop, I would definitely nfs-mount /var/tmp, and probably /usr/portage,
40 to keep SSD space usage down, and unnecessary write wear (100,000 iterations
41 can happen awfully quickly, if you're dealing with a lot of small files,
42 such as c files, .o files, and .h files...).
43
44
45 Anyway, my $0.02...
46
47 -James
48
49
50 > Maxim
51 >
52 >