1 |
On Tue, 13 Mar 2012 15:05:59 +0700 |
2 |
Pandu Poluan <pandu@××××××.info> wrote: |
3 |
|
4 |
> On Mar 13, 2012 2:00 PM, "Alan McKinnon" <alan.mckinnon@×××××.com> |
5 |
> wrote: |
6 |
> > |
7 |
> > On Tue, 13 Mar 2012 12:04:00 +0700 |
8 |
> > Pandu Poluan <pandu@××××××.info> wrote: |
9 |
> > |
10 |
> > > I am seriously thinking of splitting the storage of directories |
11 |
> > > under /usr, e.g., /usr/portage and /usr/source actually living |
12 |
> > > somewhere else, on different partition and different filesystem. |
13 |
> > > Let's say something mounted on /mnt/Persistent. |
14 |
> > > |
15 |
> > > My question: should I use bindmount or symlinks to do that? |
16 |
> > > What's the drawbacks/benefits for either? |
17 |
> > > |
18 |
> > > Rgds, |
19 |
> > |
20 |
> > You should do neither as they do not give you split storage, they |
21 |
> > both give you the same thing in two different places. |
22 |
> > |
23 |
> > Create two new filesystems and mount them. |
24 |
> > |
25 |
> > I personally use /var/portage as there is no good reason for it to |
26 |
> > be under /usr where it is just clutter. |
27 |
> > |
28 |
> > Code goes in /usr |
29 |
> > Data goes in /var |
30 |
> > |
31 |
> > You have to change PORTDIR in /etc/make.conf for this to work as |
32 |
> > well as /etc/make.profile. Nothing breaks without it, you just get |
33 |
> > errors from portage |
34 |
> > |
35 |
> |
36 |
> Eh? But I put portage, src, share, etc. on a different partition |
37 |
> mounted under /mnt ... doesn't that mean I am using a split |
38 |
> filesystem? |
39 |
|
40 |
Do you have separate filesystems for each of those directories, or one |
41 |
big storage area? I'm struggling to find out what you are trying to |
42 |
accomplish and what problem that is a solution for. |
43 |
|
44 |
|
45 |
-- |
46 |
Alan McKinnnon |
47 |
alan.mckinnon@×××××.com |