Thursday, October 27, 2011

[Level 1] Get partition uuid on Ubuntu.

# blkid
/dev/sda1: UUID="05580ede-bec4-44ae-b1a5-8e8c7b2e7c58" TYPE="ext4" 
/dev/sda2: UUID="3df58602-322b-437a-b65c-de21293f6840" TYPE="swap" 
/dev/sda5: UUID="5417e3d4-4b7d-4a79-a58a-a53cbeab6112" TYPE="ext4"
Wish this helps.
regards,
Stanley Huang