Gentoo Archives: gentoo-user

From: "Canek Peláez Valdés" <caneko@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Hard drives not detected in repeatable order.
Date: Mon, 03 Oct 2011 19:55:15
Message-Id: CADPrc82P2-SYeGZNwEfaz6tq9T_eMGjMUqBNbDqw0EBH8y5XVg@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Hard drives not detected in repeatable order. by Paul Hartman
1 On Mon, Oct 3, 2011 at 12:28 PM, Paul Hartman
2 <paul.hartman+gentoo@×××××.com> wrote:
3 > On Mon, Oct 3, 2011 at 2:03 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
4 >> On Mon, Oct 3, 2011 at 11:49 AM, Grant Edwards
5 >>> After a bit more googling, it looks like this is what disk labels are
6 >>> for.  Never used them before, but it looks like it's time to give them
7 >>> a go.
8 >>
9 >> They have the advantage over UUID's in that you can set them and
10 >> therefore can be human readable. Also, if you use a desktop
11 >> environment, they look nice in file managers.
12 >
13 > AFAIK that benefit of labels can also be a danger. If you have
14 > multiple systems and use the same label naming scheme on all of them
15 > (for example you call your partitions "root" "home" "swap" etc.) and
16 > someday you plug the HDD from one system into the other, it could
17 > cause confusion by potentially choosing the wrong one. But someone can
18 > correct me if I'm wrong. :)
19
20 You are right. But a) if you are swaping harddrives around, you better
21 know what you are doing, and b) nothing "terrible" happens, I believe
22 the first (or last) detected drive with a label in fstab will be
23 mounted. The other one will still be available by UUID and /dev
24 device.
25
26 Regards.
27 --
28 Canek Peláez Valdés
29 Posgrado en Ciencia e Ingeniería de la Computación
30 Universidad Nacional Autónoma de México