UUID

Matt Graham mhgraham at crow202.org
Wed Dec 31 08:20:09 MST 2014


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.


More information about the PLUG-discuss mailing list