Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bindmount or symlink?
Date: Tue, 13 Mar 2012 05:13:08
Message-Id: CADPrc82KYqzqDWnyR5GT7mdcsvW_DJFmM7tNJ73qKxyB=27ExQ@mail.gmail.com
In Reply to: [gentoo-user] bindmount or symlink? by Pandu Poluan
1 On Mon, Mar 12, 2012 at 11:04 PM, Pandu Poluan <pandu@××××××.info> wrote:
2 > I am seriously thinking of splitting the storage of directories under /usr,
3 > e.g., /usr/portage and /usr/source actually living somewhere else, on
4 > different partition and different filesystem. Let's say something mounted on
5 > /mnt/Persistent.
6 >
7 > My question: should I use bindmount or symlinks to do that? What's the
8 > drawbacks/benefits for either?
9
10 I'm sorry, I don't understand. What's the problem of having the
11 following in /etc/fstab?
12
13 LABEL=Portage /usr/portage ext4 noatime,auto 0 2
14 LABEL=Source /usr/source ext4 noatime,auto 0 2
15
16 (Replace LABEL=Portage with /dev/sda7, if you want to.)
17
18 Why do you need to bindmount or link the directories when you can
19 mount them wherever you want?
20
21 Regards.
22 --
23 Canek Peláez Valdés
24 Posgrado en Ciencia e Ingeniería de la Computación
25 Universidad Nacional Autónoma de México

Replies

Subject Author
Re: [gentoo-user] bindmount or symlink? Pandu Poluan <pandu@××××××.info>