public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: dual booting 2 gentoo installations
Date: Thu, 27 Nov 2008 10:52:51 +0200	[thread overview]
Message-ID: <200811271052.51889.alan.mckinnon@gmail.com> (raw)

On Thursday 27 November 2008 07:20:37 Jorge Peixoto de Morais Neto wrote:
> 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).

I wouldn't call it naive. Sometimes the simple solution is the best one, 
sometimes you need something more complex. So whether to use symlinks or a 
bind mount depends on circumstance.

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



-- 
alan dot mckinnon at gmail dot com



             reply	other threads:[~2008-11-27  8:53 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-27  8:52 Alan McKinnon [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-24 21:04 [gentoo-user] dual booting 2 gentoo installations Harry Putnam
2008-11-24 21:34 ` Alan McKinnon
2008-11-24 22:16   ` [gentoo-user] " Harry Putnam
2008-11-24 22:24     ` Chris Thomas
2008-11-24 22:51     ` Alan McKinnon
2008-11-25  6:56       ` Dale
2008-11-26 16:32         ` Galevsky
2008-11-27  5:06       ` Jorge Peixoto de Morais Neto
2008-11-27  5:20         ` Jorge Peixoto de Morais Neto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200811271052.51889.alan.mckinnon@gmail.com \
    --to=alan.mckinnon@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox