1 |
On Thu, Nov 27, 2008 at 3:06 AM, Jorge Peixoto de Morais Neto |
2 |
<please.no.spam.here@×××××.com> wrote: |
3 |
>> I take it you've already observed that you can also share portage and |
4 |
>> distfiles directories? Easiest is if they are on their own partitions but |
5 |
>> there are tricks that can get the same effect if not. How to do this is left |
6 |
>> as an exercise for the reader :-) with one tip for those who don't know: |
7 |
>> |
8 |
>> mount -o bind |
9 |
>> -- |
10 |
>> alan dot mckinnon at gmail dot com |
11 |
> I know about mount -o bind. |
12 |
> However, (forgive me if this is naive), why not just a symlink? That |
13 |
> is the way I do. |
14 |
> I want my root partition to be small (for performance reasons), so I |
15 |
> put things that don't need speed int its own partion, which I mount in |
16 |
> /usr/local/slowpart (the name fits; the partition is at the end of the |
17 |
> harddisk and 80% full, so it is slower than the root partion, that is |
18 |
> at the beginning of the hard disk and 7% full. |
19 |
> In this slowpart, I have DISTDIR, PKGDIR, and some personal files that |
20 |
> are not frequently accessed (such as files I will likely never use but |
21 |
> kept for safety). I configure DISTDIR and PKGDIR in make.conf, but the |
22 |
> personal files are linked to my home via symbolic links. |
23 |
I guess the advantage of bind-mount is having all of it configured in |
24 |
fstab, as instead of having many symlinks. |
25 |
(forgive me it this is naive). |
26 |
|
27 |
And there is all that --move, --make-shared, --make-slave, |
28 |
--make-private, --make-unbindable stuff, but that seems overkill for a |
29 |
desktop user. |
30 |
|
31 |
-- |
32 |
Software is like sex: it is better when it is free - Linus Torvalds |