1 |
On Tue, 13 Mar 2012 12:04:00 +0700 |
2 |
Pandu Poluan <pandu@××××××.info> wrote: |
3 |
|
4 |
> I am seriously thinking of splitting the storage of directories |
5 |
> under /usr, e.g., /usr/portage and /usr/source actually living |
6 |
> somewhere else, on different partition and different filesystem. |
7 |
> Let's say something mounted on /mnt/Persistent. |
8 |
> |
9 |
> My question: should I use bindmount or symlinks to do that? What's the |
10 |
> drawbacks/benefits for either? |
11 |
> |
12 |
> Rgds, |
13 |
|
14 |
You should do neither as they do not give you split storage, they |
15 |
both give you the same thing in two different places. |
16 |
|
17 |
Create two new filesystems and mount them. |
18 |
|
19 |
I personally use /var/portage as there is no good reason for it to be |
20 |
under /usr where it is just clutter. |
21 |
|
22 |
Code goes in /usr |
23 |
Data goes in /var |
24 |
|
25 |
You have to change PORTDIR in /etc/make.conf for this to work as well |
26 |
as /etc/make.profile. Nothing breaks without it, you just get errors |
27 |
from portage |
28 |
|
29 |
|
30 |
-- |
31 |
Alan McKinnnon |
32 |
alan.mckinnon@×××××.com |