1 |
On Thursday 13 April 2006 09:38, CR Little wrote: |
2 |
> It's a single drive. |
3 |
>(add this line |
4 |
> /dev/hda3 3.7G 1.3G 2.3G 36% / |
5 |
> /dev/hda5 4.6G 4.1G 285M 94% /usr |
6 |
> /dev/hda6 4.6G 312M 4.1G 7% /var |
7 |
> /dev/hda7 2.8G 33M 2.6G 2% /tmp |
8 |
> /dev/hda8 11G 35M 9.9G 1% /home |
9 |
> none 89M 0 89M 0% /dev/shm |
10 |
> |
11 |
Since /home has a lot of free space, you could put portage (along with |
12 |
distfiles) on /home, and after you're satisfied it works OK remove portage |
13 |
from /usr, gaining back at least around 1GB or so. |
14 |
|
15 |
cp -a /usr/portage/ /home |
16 |
|
17 |
Just to be safe, temporarily rename /usr/portage to portage.old |
18 |
|
19 |
mv /usr/portage /usr/portage.old |
20 |
|
21 |
Then change the /etc/make.profile symlink to point to the new location. |
22 |
|
23 |
cd /etc |
24 |
rm -rf make.profile |
25 |
ln -s /home/portage/profiles/default-linux/x86/2006.0 make.profile |
26 |
|
27 |
(this is just an example from my system- you may using a different profile- |
28 |
check with emerge --info) |
29 |
|
30 |
Edit /etc/make.conf (add this line) |
31 |
|
32 |
PORTDIR=/home/portage |
33 |
|
34 |
Run an emerge --sync to check if it works. It should, and you can then do: |
35 |
|
36 |
rm -rf /usr/portage.old |
37 |
-- |
38 |
gentoo-user@g.o mailing list |