From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-86974-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1L5ZIt-0006t1-SH
	for garchives@archives.gentoo.org; Thu, 27 Nov 2008 05:20:42 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 39449E0433;
	Thu, 27 Nov 2008 05:20:38 +0000 (UTC)
Received: from ey-out-1920.google.com (ey-out-1920.google.com [74.125.78.144])
	by pigeon.gentoo.org (Postfix) with ESMTP id ED968E0433
	for <gentoo-user@lists.gentoo.org>; Thu, 27 Nov 2008 05:20:37 +0000 (UTC)
Received: by ey-out-1920.google.com with SMTP id 4so324726eyk.10
        for <gentoo-user@lists.gentoo.org>; Wed, 26 Nov 2008 21:20:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:sender
         :to:subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references
         :x-google-sender-auth;
        bh=5+MMWlJUgS0KAjD947IXU8d09OMIvR3UFVXaiLqJF1w=;
        b=jJl8dnu+iWXOo2hQt4O8l7CSO7oAMEqhorgnfE7sFzncCJTBbp3xp94PQtA2X7VItz
         K8jqM/vRHTxJknM4rnRGSYZigLjKCg4mHX7PnAJGyvb+y26Xvrqcxw5oqCiFOOf0e5Mn
         XRapIa84jzcZTvwcqxJyurOtpLPMSWWH9fwHg=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references:x-google-sender-auth;
        b=fVyCS3zKtLLH6htXXcIdPTE49pyEpTH0YvL4Ct7T3NuKZuYh4q0dI1IcwBEGCUwQqh
         yoXxwuJJmzhgwXhkABGfDnCZ+u2ymgq0eKC4N7l39aEYHFZJ3nfK5+vfbr84rVxEFMTE
         9+W/Fr+/jtl37uHwhZeARBYqJ6Y9Hvl5Jfj/k=
Received: by 10.210.41.1 with SMTP id o1mr6942835ebo.179.1227763237434;
        Wed, 26 Nov 2008 21:20:37 -0800 (PST)
Received: by 10.210.34.20 with HTTP; Wed, 26 Nov 2008 21:20:37 -0800 (PST)
Message-ID: <38af3d670811262120p5a7797d6s755a8c32fd711fc3@mail.gmail.com>
Date: Thu, 27 Nov 2008 03:20:37 -0200
From: "Jorge Peixoto de Morais Neto" <please.no.spam.here@gmail.com>
Sender: jorgepeixotomorais@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: dual booting 2 gentoo installations
In-Reply-To: <38af3d670811262106m1d1c6cd8w58dbb9aad4147289@mail.gmail.com>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <87zljovnrd.fsf@newsguy.com>
	 <200811242334.15994.alan.mckinnon@gmail.com>
	 <87bpw4vkg5.fsf@newsguy.com>
	 <200811250051.48155.alan.mckinnon@gmail.com>
	 <38af3d670811262106m1d1c6cd8w58dbb9aad4147289@mail.gmail.com>
X-Google-Sender-Auth: 3e27726c93bac321
X-Archives-Salt: 5600eac1-cd59-4f73-9597-af2dc18b7d1e
X-Archives-Hash: 8b07894211796476302a563633409846

On Thu, Nov 27, 2008 at 3:06 AM, Jorge Peixoto de Morais Neto
<please.no.spam.here@gmail.com> wrote:
>> I take it you've already observed that you can also share portage and
>> distfiles directories? Easiest is if they are on their own partitions but
>> there are tricks that can get the same effect if not. How to do this is left
>> as an exercise for the reader :-) with one tip for those who don't know:
>>
>> mount -o bind
>> --
>> alan dot mckinnon at gmail dot com
> I know about mount -o bind.
> However, (forgive me if this is naive), why not just a symlink? That
> is the way I do.
> I want my root partition to be small (for performance reasons), so I
> put things that don't need speed int its own partion, which I mount in
> /usr/local/slowpart (the name fits; the partition is at the end of the
> harddisk and 80% full, so it is slower than the root partion, that is
> at the beginning of the hard disk and 7% full.
> In this slowpart, I have DISTDIR, PKGDIR, and some personal files that
> are not frequently accessed (such as files I will likely never use but
> kept for safety). I configure DISTDIR and PKGDIR in make.conf, but the
> personal files are linked to my home via symbolic links.
I guess the advantage of bind-mount is having all of it configured in
fstab, as instead of having many symlinks.
(forgive me it this is naive).

And there is all that --move, --make-shared, --make-slave,
--make-private, --make-unbindable stuff, but that seems overkill for a
desktop user.

-- 
Software is like sex: it is better when it is free - Linus Torvalds