Linux查看分区UUID

blkid

/dev/sda1: UUID="47498d3e-375e-4de6-93a0-52344d4955d9" TYPE="ext3" 
/dev/sda5: UUID="903502e2-be9a-489f-9b0b-f157e8647b2a" TYPE="swap" 
/dev/sda6: UUID="0b1ba1ef-9430-4af0-98cc-31ddddd5decb" TYPE="ext4" 
/dev/sda7: UUID="9c314eb9-ee77-4cbf-a3d0-0845c431c3c4" TYPE="ext4" 

ls -al /dev/disk/by-uuid
lrwxrwxrwx 1 root root  10 May 19 10:26 0b1ba1ef-9430-4af0-98cc-31ddddd5decb -> ../../sda6
lrwxrwxrwx 1 root root  10 May 19 10:26 47498d3e-375e-4de6-93a0-52344d4955d9 -> ../../sda1
lrwxrwxrwx 1 root root  10 May 19 10:26 903502e2-be9a-489f-9b0b-f157e8647b2a -> ../../sda5
lrwxrwxrwx 1 root root  10 May 19 10:27 9c314eb9-ee77-4cbf-a3d0-0845c431c3c4 -> ../../sda7
去打赏

您的支持将鼓励我们继续创作!

[微信] 扫描二维码打赏

发表评论

电子邮件地址不会被公开。