UUID… Is it really better?

Ubuntu started using UUID’s from around Edgy Eft I believe. I must
admit though when I upgraded to Edgy. I noticed the change to UUID in
my /etc/fstab but I never paid it any mind; “If it ain’t broke don’t
fix it!!”. I’ve since did a network upgrade to Hardy from Gutsy… that
‘install’ messed up my partitions ūüė¶ !!!!!

First let me give you the wikipedia definition of UUID:

The intent of UUIDs is to enable distributed systems to uniquely
identify information without significant central coordination. Thus,
anyone can create a UUID and use it to identify something with
reasonable confidence that the identifier will never be unintentionally
used by anyone for anything else.

UUID is good for people who use alot of removable devices.By using UUID you¬† don’t have to worry about disk label issues. While normal desktop users who don’t really change or add hard drives to their up an running system will see UUID as just more headache in the *nix world.
Not sure where I picked up this info from but this is put as simply as possible I believe:

No matter if you change how the hd is connected to your system (for example primary/secondary master/slave for IDE) the UUID never changes, whereas the device node can change. Thus the association between mount point and partition is more robust when using UUIDs.

Which do you prefer:

UUID=855c621e-cc8b-4a2c-9b22-e01aa751b870    /media/layover    ext3     defaults           0          2


/dev/sda5 /media/unno ext3 defaults 0 2

If you are interested in finding out what your UUID is for a particular partition type:

sudo vol_id -u device


2 Responses to “UUID… Is it really better?”

  1. it didn’t bother me then.. and since i didn’t do a network upgrade i guess it doesn’t bug me much now either

  2. @taylor…. UUID doesn’t really have anything to do with network upgrade. If you plug alot of various hard drives into your system this could be helpful.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: