How to get Harddisk UUID in Ubuntu 12.04 LTS

Using UUID is a better way for a Linux system to identify a harddisk partition for mounting compare to using block names (/dev/hda1 or /dev/sda1). This is because UUID is a unique identification of each partition of the harddisk. UUID will guarantee the partition to mount to it's designated mount point even if the harddisk had been connected at different SATA connectors in your PC system.

Here is how you can find out your UUID of your harddisk partition:
Run this command without sudo:
blkid
Or you can run this "ls" command to get the UUID:
ls -l /dev/disk/by-uuid


Comments

Popular posts from this blog

City Code Table for Casio SGW300HD-1AV Watch

How to force only 4G or LTE network connection for Samsung Galaxy Note 4

Mounting NFS share directory from D-link DNS 320L on Ubuntu 12.04 LTS