Sandeepbhalla's Blog

Journey is the End.

UUIDs in Ubuntu | Unix Tutorial

leave a comment »

List UUIDs for all your devicesIf you are using one of the recent releases of Ubuntu UUIDs have been there since Edgy, you can use the blkid command to get a list of all the drives and partitions along with their UUIDs:

ubuntu# blkid

Get UUID for a particular device

If you know a device name and just want to confirm the UUID for it to later use it in /etc/fstab, here’s how you can do it using vol_id command:

ubuntu# vol_id -u /dev/sdb1

via UUIDs in Ubuntu | Unix Tutorial.

Advertisement

Written by Sandeep Bhalla

May 21, 2011 at 4:53 PM

Posted in Linux/Ubuntu

Tagged with

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 )

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

Follow

Get every new post delivered to your Inbox.