Login to Members Area

Choose the service you want to log in
     
24x7x365 Presence
1-888-289-2246
Live Chat

Hosting Blog

 

How to get information about block devices, FSs and UUIDs of the Linux machine

To get information about the available block devices on the Linux machine, we can use the command line interface utility 'blkid' which displays the information about the devices on the system with their file system type or universally unique identifier (UUID). For example -

=================================================
[[email protected]#~]# blkid

/dev/sda1: UUID="a78e1f03-be53-4ff0-adf2-5b27837c0efe" TYPE="ext4"
/dev/sda2: UUID="f8be5ef0-1232-4d4e-a27c-0772593858cf" TYPE="swap"
/dev/sda3: UUID="d9525666-8c8b-49bb-af81-104bf1d60d4d" TYPE="ext4"
=================================================

That's it.

Sachin Wednesday 23 October 2013 - 07:02 am | | Default

No comments

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.