public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Pandu Poluan <pandu@poluan.info>
To: Alan McKinnon <alan.mckinnon@gmail.com>
Cc: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] bindmount or symlink?
Date: Tue, 13 Mar 2012 15:05:59 +0700	[thread overview]
Message-ID: <CAA2qdGUzXpPiy=63BG9_bfshU4zf-c76z5Kdv9yzyS2zECG-ZA@mail.gmail.com> (raw)
In-Reply-To: <20120313085938.5b359cfd@khamul.example.com>

[-- Attachment #1: Type: text/plain, Size: 1176 bytes --]

On Mar 13, 2012 2:00 PM, "Alan McKinnon" <alan.mckinnon@gmail.com> wrote:
>
> On Tue, 13 Mar 2012 12:04:00 +0700
> Pandu Poluan <pandu@poluan.info> wrote:
>
> > I am seriously thinking of splitting the storage of directories
> > under /usr, e.g., /usr/portage and /usr/source actually living
> > somewhere else, on different partition and different filesystem.
> > Let's say something mounted on /mnt/Persistent.
> >
> > My question: should I use bindmount or symlinks to do that? What's the
> > drawbacks/benefits for either?
> >
> > Rgds,
>
> You should do neither as they do not give you split storage, they
> both give you the same thing in two different places.
>
> Create two new filesystems and mount them.
>
> I personally use /var/portage as there is no good reason for it to be
> under /usr where it is just clutter.
>
> Code goes in /usr
> Data goes in /var
>
> You have to change PORTDIR in /etc/make.conf for this to work as well
> as /etc/make.profile. Nothing breaks without it, you just get errors
> from portage
>

Eh? But I put portage, src, share, etc. on a different partition mounted
under /mnt ... doesn't that mean I am using a split filesystem?

Rgds,

[-- Attachment #2: Type: text/html, Size: 1548 bytes --]

  reply	other threads:[~2012-03-13  8:07 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13  5:04 [gentoo-user] bindmount or symlink? Pandu Poluan
2012-03-13  5:11 ` Canek Peláez Valdés
2012-03-13  5:39   ` Pandu Poluan
2012-03-13  5:45     ` Canek Peláez Valdés
2012-03-13  6:59 ` Alan McKinnon
2012-03-13  8:05   ` Pandu Poluan [this message]
2012-03-13  8:15     ` Canek Peláez Valdés
2012-03-13  8:52       ` Philipp Riegger
2012-03-13  9:00       ` Pandu Poluan
2012-03-13  9:12         ` Canek Peláez Valdés
2012-03-13 10:35           ` Nilesh Govindrajan
2012-03-13 11:38         ` Alan McKinnon
2012-03-13 10:58     ` Alan McKinnon
2012-03-13 18:06 ` Walter Dnes

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='CAA2qdGUzXpPiy=63BG9_bfshU4zf-c76z5Kdv9yzyS2zECG-ZA@mail.gmail.com' \
    --to=pandu@poluan.info \
    --cc=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