Gentoo Archives: gentoo-amd64

From: Peter Humphrey <prh@××××××××××.uk>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Re: Unexpected side effect of GCC 4
Date: Mon, 06 Nov 2006 11:46:28
Message-Id: 200611061144.01773.prh@gotadsl.co.uk
In Reply to: [gentoo-amd64] Re: Unexpected side effect of GCC 4 by Duncan <1i5t5.duncan@cox.net>
1 On Monday 06 November 2006 08:41, Duncan wrote:
2
3 > Peter Humphrey <prh@××××××××××.uk> posted
4 > > Perhaps I ought to look into putting /tmp and /var/tmp onto tmpfs.
5 >
6 > Do so. It makes a /big/ difference!
7
8 My reading so far suggests that I include these two lines in /etc/fstab:
9
10 tmpfs /tmp tmpfs nodev,nosuid,noexec 0 0
11 tmpfs /var/tmp tmpfs nodev,nosuid,noexec 0 0
12
13 Is that all I have to do? I assume I don't need to specify tmpfs sizes; I
14 have 4 GB RAM of which 0.5 GB is unavailable (owing to a motherboard
15 problem that prompted the system builder to refund some of my money - small
16 consolation). Probably I should put a script into /etc/conf.d/start.local
17 to create a symlink from /var/tmp/ccache back to a real cache directory on
18 disk, as it seems daft to install a compiler cache and then flush it at
19 every reboot - at present mine has 1.5 GB of data. /tmp has 750 MB of stuff
20 and is a separate disk partition at present, mounted on whichever system I
21 boot.
22
23 > I don't have all of KDE merged here
24
25 Nor I; I just have 9 meta-packages because I didn't want the education or
26 games stuff, among others. I might have preferred to go to finer grain
27 still, but it looked like too much work.
28
29 --
30 Rgds
31 Peter
32 --
33 gentoo-amd64@g.o mailing list

Replies

Subject Author
[gentoo-amd64] Re: Unexpected side effect of GCC 4 Duncan <1i5t5.duncan@×××.net>