public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] bindmount or symlink?
  @ 2012-03-13  5:11 99% ` Canek Peláez Valdés
  0 siblings, 0 replies; 1+ results
From: Canek Peláez Valdés @ 2012-03-13  5:11 UTC (permalink / raw
  To: gentoo-user

On Mon, Mar 12, 2012 at 11:04 PM, 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?

I'm sorry, I don't understand. What's the problem of having the
following in /etc/fstab?

LABEL=Portage	/usr/portage		ext4		noatime,auto			0 2
LABEL=Source		/usr/source		ext4		noatime,auto			0 2

(Replace LABEL=Portage with /dev/sda7, if you want to.)

Why do you need to bindmount or link the directories when you can
mount them wherever you want?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2012-03-13  5:04     [gentoo-user] bindmount or symlink? Pandu Poluan
2012-03-13  5:11 99% ` Canek Peláez Valdés

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox