1.blkid
-
# blkid
-
/dev/mapper/vg_centostest1-lv_root: UUID="979e5604-2942-4e00-93d6-a9f8b03e6358" TYPE="ext4"
-
/dev/block/253:0: UUID="979e5604-2942-4e00-93d6-a9f8b03e6358" TYPE="ext4"
-
/dev/block/8:2: UUID="DKjC1e-UWyf-CpKl-ejG6-0AwL-z56N-EeBqXh" TYPE="LVM2_member"
-
/dev/loop0: LABEL="CentOS-6.4-x86_64-LiveDVD" TYPE="iso9660"
-
/dev/loop1: TYPE="squashfs"
-
/dev/loop2: LABEL="_CentOS-6.4-x86_" UUID="e29be253-b33c-463c-ba3a-04c781b62add" TYPE="ext4"
-
/dev/sda1: UUID="27e347d8-15da-415d-9e43-5dfec9a8e00b" TYPE="ext4"
-
/dev/mapper/vg_centostest1-lv_swap: UUID="46d1def1-6e37-4f29-b00d-aeab93503112" TYPE="swap"
2.ls -l /dev/disk/by-uuid
-
# ls -l /dev/disk/by-uuid/
-
total 0
-
lrwxrwxrwx 1 root root 10 Jun 20 16:47 27e347d8-15da-415d-9e43-5dfec9a8e00b -> ../../sda1
-
lrwxrwxrwx 1 root root 10 Jun 20 16:47 46d1def1-6e37-4f29-b00d-aeab93503112 -> ../../dm-1
-
lrwxrwxrwx 1 root root 10 Jun 20 16:47 979e5604-2942-4e00-93d6-a9f8b03e6358 -> ../../dm-0
阅读(13104) | 评论(0) | 转发(0) |