From: Philipp Riegger <lists@anderedomain.de>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] bindmount or symlink?
Date: Tue, 13 Mar 2012 09:52:32 +0100 [thread overview]
Message-ID: <4F5F0AD0.5040406@anderedomain.de> (raw)
In-Reply-To: <CADPrc81r+UhhPupWyaUaTj+PnriFZUeZuR-oJ958s7zCe3CnSw@mail.gmail.com>
On 13.03.2012 09:15, Canek Peláez Valdés wrote:
> If I'm understanding you, you want:
>
> fstab:
> /dev/XX /mnt/p1 ...
> /dev/YY /mnt/p2 ...
>
> and then
>
> /usr/portage -> /mnt/p1
> /usr/src -> /mnt/p2
>
> (or using bindmounting, whatever).
>
> This makes no sense at all (at least not to me), when you can simply:
>
> fstab:
> /dev/XX /usr/portage ...
> /dev/YY /usr/src ...
>
> and get the same split filesystem, but without all the complication
> you are proposing.
>
> Unless there is something I don't understand, in which case I'm not
> following your reasoning.
There are 2 possible things one can do:
1) Split everything, /usr, /usr/src, /usr/portage each on a seperate
filesystem.
2) Seperate multiple paths from /usr: Have 1 fs /mnt/data and link (or
bind mount) /usr/src, /usr/portage there. You have a shared fs for dirx,
that are usually not shared.
What would be the benefits of symlinks and bind mounts for doing 2)?
Philipp
next prev parent reply other threads:[~2012-03-13 8:54 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
2012-03-13 8:15 ` Canek Peláez Valdés
2012-03-13 8:52 ` Philipp Riegger [this message]
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=4F5F0AD0.5040406@anderedomain.de \
--to=lists@anderedomain.de \
--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