Saturday, August 22, 2009

How to check UUID, Label & Filesystem type in Linux

First there should be a little clarification what these things are.

1. UUID - Universally Unique Identifier
This is a kind of an identifier that you can give to a device. Since it is a universally unique identifier, the identification of the device is easy.

2. Label
Label is another way to identify a device but it's not unique. Like in Microsoft Windows you can have more than one device with the same label.

3. Filesystem
It is the method for storing files in a computer system. Different operating systems use different types of file systems such as,
* EXT3/4 - Linux
* HFS/HFS+ - Mac
* NTFS - Windows

In Linux there is a method how you can find these things with a single command.

* Open up a terminal and issue this command without quotes "sudo blkid"

The output will be like this,

1 comment: