1 |
· Dirk Heinrichs <dirk.heinrichs@××××××.de>: |
2 |
|
3 |
> Am Montag, den 21.04.2008, 16:37 +0200 schrieb Anthony E. Caudel: |
4 |
>> I have noticed in some distros (namely Ubuntu) that the fstab uses |
5 |
>> UUID's rather than /dev references. Is this a better way? |
6 |
> |
7 |
> Yes. |
8 |
> |
9 |
>> Does it eliminate the problem of /dev references changing when another |
10 |
>> drive, i.e., an external USB drive, is plugged in? |
11 |
> |
12 |
> Yes. |
13 |
> |
14 |
>> The /dev references |
15 |
>> may change but the UUID's in fstab wouldn't, would they? |
16 |
> |
17 |
> Correct. |
18 |
> |
19 |
> The other possible way would be to give your devices unique names, |
20 |
> either via udev or by using LVM. Advantage over UUIDs: much easier to |
21 |
> read. |
22 |
|
23 |
Disadvantage: Not guaranteed to be unique. It could, theoretically |
24 |
at least, happen that there are two devices with the same names. |
25 |
The same disadvantage exists, if you use filesystem labels. |
26 |
|
27 |
Advantage of fs labels: No need for another layer like LVM. |
28 |
|
29 |
Michael Schmarck |
30 |
-- |
31 |
i dont even know if it makes sense at all :) This is an experimental patch |
32 |
for an experimental kernel :)) |
33 |
-- Ingo Molnar on linux-kernel |
34 |
|
35 |
|
36 |
-- |
37 |
gentoo-user@l.g.o mailing list |