Re: UUID

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: UUID
On 2014-12-30 21:13, Michael Havens wrote:
> where are UUID and logical addresses kept?


A UUID (Universally Unique IDentifier) is stored in different places in
different filesystems. For ext3 (probably ext2 and ext4 as well), the
UUID is in bytes 1032..1048 of the filesystem. If you call mke2fs with
-U UUID, you can make a filesystem with the specified UUID, which might
have been useful in the situation you describe.

For legibility and clarity, I think it's better to use filesystem
labels instead of UUIDs when mounting stuff. The /bin/mount binary has
label-comparison code for just about every commonly-used filesystem
baked in to it already, even. GRUB2 may not have that stuff (though it
seems to have everything else, including a textbook case of
second-system effect (
http://catb.org/jargon/html/S/second-system-effect.html )....)

--
Crow202 Blog: http://crow202.org/wordpress
There is no Darkness in Eternity
But only Light too dim for us to see.
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss