Gentoo Archives: gentoo-user

From: Kfir Lavi <lavi.kfir@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] can I remove /var/cache/
Date: Thu, 09 Dec 2010 20:27:26
Message-Id: AANLkTikWUTL8x5eOKkqTuX4M-PL+c+ykofyDkjvVnKXQ@mail.gmail.com
In Reply to: [gentoo-user] can I remove /var/cache/ by fajfusio@wp.pl
1 2010/12/7 <fajfusio@××.pl>
2
3 > Hi
4 >
5 > Can I remove /var/cache/ directory.
6 > My contens of it is as follows:
7 > cups edb eix fontconfig genkernel hald ldconfig man
8 > revdep-rebuild samba
9 >
10 > thanks for answer
11 >
12 >
13 >
14 > Hi,
15 Before you decide to remove something do some testing.
16 start by running
17 $ du -sh /*
18 Then see what grabs the most, or what seems not in place.
19 Then try to run the command again in the directory that seems to be too big.
20
21 In my case /var/cache is just 16M so no need to look there.
22
23 Another option is to mount some parts of your filesystem as tmpfs.
24 This will put files on the main memory and not on the hard drive.
25 Take care that this files will be gone when you unmount or restart.
26
27 You can save some more space with
28 FEATURES="noman noinfo nodoc"
29 placed in /etc/make.conf
30
31 Regards,
32 Kfir