查看分区UUID

查看所有分区uuid

[root@localhost boot]# ls -l /dev/disk/by-uuid/ 
total 0
lrwxrwxrwx. 1 root root  9 Apr  7 14:04 2014-07-06-17-32-07-00 -> ../../sr0
lrwxrwxrwx. 1 root root 10 Apr  7 14:04 6c2e3bc1-e12c-44a0-b009-7f997e0e0123 -> ../../sda1
lrwxrwxrwx. 1 root root 10 Apr  7 14:04 6c6f8160-c1c0-4053-98ca-90ae760153d0 -> ../../sda2
lrwxrwxrwx. 1 root root 10 Apr  7 14:04 7cf34b87-81cb-45e3-a004-75d727c2b79d -> ../../sda3
lrwxrwxrwx. 1 root root 10 Apr  7 14:04 9e50045c-42cd-4b34-b6f6-017ac4edc504 -> ../../sda5

查看指定分区uuid

[root@localhost boot]# blkid /dev/sda1
/dev/sda1: UUID="6c2e3bc1-e12c-44a0-b009-7f997e0e0123" TYPE="ext4" 

转载自::http://blog.csdn.net/sanlinux/article/details/5203923

标签: linux

添加新评论