查看分区UUID

来源:互联网 发布:淘宝免费打单软件 编辑:程序博客网 时间:2024/04/28 08:46

查看所有分区uuid

[root@localhost boot]# ls -l /dev/disk/by-uuid/ total 0lrwxrwxrwx. 1 root root  9 Apr  7 14:04 2014-07-06-17-32-07-00 -> ../../sr0lrwxrwxrwx. 1 root root 10 Apr  7 14:04 6c2e3bc1-e12c-44a0-b009-7f997e0e0123 -> ../../sda1lrwxrwxrwx. 1 root root 10 Apr  7 14:04 6c6f8160-c1c0-4053-98ca-90ae760153d0 -> ../../sda2lrwxrwxrwx. 1 root root 10 Apr  7 14:04 7cf34b87-81cb-45e3-a004-75d727c2b79d -> ../../sda3lrwxrwxrwx. 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

0 0
原创粉丝点击