UUIDs on drives
Karl Larsen
k5di at zianet.com
Fri Aug 15 22:46:36 UTC 2008
Verde Denim wrote:
> On Fri, Aug 15, 2008 at 6:03 PM, Karl Larsen <k5di at zianet.com> wrote:
>
>
>> ghe wrote:
>>
>>> Rashkae wrote:
>>>
>>>
>>>
>>>> The boot drive is always Drive 0, whichever drive on your Mobo you
>>>> decide to boot from. I strongly suggest you always make the drive where
>>>> your /boot/grub is located the boot drive. Anything else will now
>>>> likely lead to tears.
>>>>
>>>>
>>> (This is long, but hopefully the end.)
>>>
>>> Look. I think we're all saying pretty much the same thing, but, as
>>> someone has said, we're looking at the situation from different points
>>> of view and different layers of software/firmware.
>>> UUIDs are yet another layer of software designed to maintain
>>> consistency, but they refer only to filesystems, not hardware devices.
>>>
>>>
>> Snip
>>
>>
>> Actually the UUID defines a partition or swap partition.
>>
>>> So some things are still at the mercy of the (sometimes not very
>>> merciful and often easily bewildered) ROM code.
>>>
>>> The idea of running all block I/O through one piece of code is a great
>>> idea, but the operations have to be split out for the protocols of the
>>> different controllers, so there's not much to gain, I claim, by labeling
>>> all block devices with the same code.
>>> Snip
>>>
>>>
>> Just so you know, it is easy to to get the UUID for a partition. It
>> looks like:
>>
>> sudo vol_id /dev/hda2 and it will print out this:
>>
>> karl at karl-desktop:~$ sudo vol_id /dev/hda2
>> [sudo] password for karl:
>> ID_FS_USAGE=other
>> ID_FS_TYPE=swap
>> ID_FS_VERSION=2
>> ID_FS_UUID=4d7c4159-d00c-4069-bfb6-f9a6e153c723
>> ID_FS_UUID_ENC=4d7c4159-d00c-4069-bfb6-f9a6e153c723
>> ID_FS_LABEL=
>> ID_FS_LABEL_ENC=
>> ID_FS_LABEL_SAFE=
>> karl at karl-desktop:~$
>>
>> For some reason it prints out the word twice.
>>
>> But this you can do for any defined partition and it works.
>>
>> Karl
>>
>
>
> Karl
> If you're referring to
> ID_FS_UUID=4d7c4159-d00c-4069-bfb6-f9a6e153c723
> ID_FS_UUID_ENC=4d7c4159-d00c-4069-bfb6-f9a6e153c723
>
> As printing twice, it isn't. The first is the UUID for the filesystem, the
> second item (I believe) refers to an encrypted file system. I think they're
> the same because there isn't an encrypted file system here.
>
> Jack
>
>
>
>> --
>>
>> Karl F. Larsen, AKA K5DI
>> Linux User
>> #450462 http://counter.li.org.
>> PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
>>
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>>
>
>
You may well be right. I really have no knowledge of an encrypted
partition. Why would you even want one? As we have said before if you
use a NSA approved good password your computer is safe. I use such on my
computer and love Linux because it uses passwords. Windows is a joke.
Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
PGP 4208 4D6E 595F 22B9 FF1C ECB6 4A3C 2C54 FE23 53A7
More information about the ubuntu-users
mailing list