UUIDs on drives
Rashkae
ubuntu at tigershaunt.com
Thu Aug 14 13:31:54 UTC 2008
Brian Astill wrote:
> On Thursday 14 August 2008 13:48:44 you wrote:
>
>>> If there is a key to unravel the info implicit in /dev/hdb3
>>> (Primary partition on the Slave drive) from its UUID, would
>>> someone please publish it.
>> huh?
> The "old" system tells what drive and what partition it refers to.
> UUID doesn't. If it did, I would complain MUCH less.
Explain one last time, drive numbering is no longer predictable.. There
is no longer concept of Primary and Secondary controller, other than
legacy systems. If you have such a legacy system, feel free to use the
old nomenclature at your own risk.
>
>> create a file system, they all get a fresh new UUID.
> But what if I don't want to? Say I have a 32-bit version of
> Ubuntu with a separate /home partition. Assume that after that I
> want to try the 64-bit version on a separate partition without
> risking damage to my /home. so I just install all on the one
> partition. If the install goes well, I need to change fstab so
> it mounts my home directory, rather than the one it set up by
> default. How, if UUID is all I have to identify it?
>
Dude, I answer your question (How do I create a UUID) and you counter by
asking a completely different question... stop that.
As for your new question, use blkid to display UUID's.. copy and paste
the one one want. (or, you can type them in, but that's kind of silly)
>
> That is _the_ issue, SFAIAC. I would not object to a rational ID
> plus a random component, so there would be no duplication.
>
Seriously, wtf, first you imply that Vfat would be better cause it only
has 4 bytes, you say you would not object if there was random
component.... errrgh!
> Your server world is different from my desktop world. In my world
> the trend is to fewer, but much larger, drives. In my world we
> often have a "working" drive, and use the other
> for "experimenting" - changing partitions and usage as desire
> dictates. For us, UUID seems to present an unnessary barrier.
>
*this* is my desktop.
# /dev/sda2
UUID=684c7396-a24b-495b-a59c-0ae17389e1e2 / ext3
noatime,errors=remount-ro 0 1
# /dev/sda3
UUID=6081012e-49b9-4fff-b85b-9ed47bea1488 /home ext3
noatime 0 2
UUID=37e41ef4-ac22-42bd-9a3c-10fd415e0224 /mnt/storage ext3 noatime 0 2
UUID=0170f920-8abb-402d-a2ab-13e6119b0b0c /mnt/storage2 ext3 noatime
0 2
UUID=e56ed2cd-30df-486f-aadb-468e94e8a6d1 /mnt/storage3 ext3 noatime
0 2
# /dev/sda1
UUID=56ec0882-678f-46d4-b057-324f7bd52113 none swap pri=0
0 0
UUID=61c46e3e-a646-4750-9729-e08212371a6f none swap pri=0
0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
More information about the ubuntu-users
mailing list