How to view UUID in Linux

Source: Internet
Author: User
1. sudo blkid
/Dev/sda1: UUID = "9adaab4ddaab250b" type = "NTFS"
/Dev/sdb1: UUID = "b2fcdcfbfcdcbab5" type = "NTFS"
/Dev/sdb5: UUID = "46fc5c74fc5c5feb" type = "NTFS"
/Dev/sdb6: TYPE = "Swap" UUID = "2cec6109-5bcf-45a3-ba1b-978b041c037f"
/Dev/sdb8: UUID = "9ee6f22d-b394-422c-9b4a-1525a3220942" sec_type = "ext2"
Type = "ext3"
/Dev/sdb7: UUID = "4bcb9381-6e25-4304-8743-f882039ff3ad" type = "ext3"

2. ls-L/dev/Disk/by-UUID
Lrwxrwxrwx 1 Root 10
2cec6109-5bcf-45a3-ba1b-978b041c037f->.../sdb6
Lrwxrwxrwx 1 Root 10 2008-05-15 46fc5c74fc5c5feb->.../sdb5
Lrwxrwxrwx 1 Root 10
4bcb9381-6e25-4304-8743-f882039ff3ad->.../sdb7
Lrwxrwxrwx 1 Root 10
9ee6f22d-b394-422c-9b4a-1525a3220942->.../sdb8

3. sudo vol_id/dev/sda1
Id_fs_usage = filesystem
Id_fs_type = reiserfs
Id_fs_versions = 3.6
Id_fs_uuid = be6d8295-a1c4-48e9-b68d-f4b043cd5f2c
Id_fs_uuid_enc = be6d8295-a1c4-48e9-b68d-f4b043cd5f2c
Id_fs_label =
Id_fs_label_enc =
Id_fs_label_safe =

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.