Tuesday, February 24, 2009

Get UUID info


[root@localhost alex]# blkid /dev/sda1
/dev/sda1: UUID="0E3CCDE13CCDC445" LABEL="HP_PAVILION" TYPE="ntfs"

[root@localhost alex]# ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 0E3CCDE13CCDC445 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 3864DD9564DD566A -> ../../sda3
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 3f480ba3-8683-452e-b355-cba2480b2a0a -> ../../sda9
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 51d4ad6a-673a-44c4-884c-fcbf14a8ea28 -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 6dd1961e-dc7c-4bf7-9fb2-70ff72eabecc -> ../../sda8
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 d94a3fcf-5b25-4320-8510-c21ce9691586 -> ../../sda7
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 dbaa1464-8820-4965-b9e8-c7f13dc9784b -> ../../sda6
lrwxrwxrwx 1 root root 10 2009-02-24 10:07 e17520dd-565c-4e2e-b594-f9a0da78fbc8 -> ../../sda2

No comments:

Post a Comment