LINUX 查看分区UUID的两种方法

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/HMSIWTV/article/details/7525171

1. sudo blkid

/dev/sda1:  LABEL="System"      UUID="5CA09A65A09A4604" TYPE="ntfs" 
/dev/sda2:  LABEL="S3A9119D005" UUID="0638C03038C02093" TYPE="ntfs" 
/dev/sda4:  LABEL="HDDRECOVERY" UUID="C8E8ED1BE8ED0890" TYPE="ntfs" 
/dev/sda5:  LABEL="Data"        UUID="26596E810AF6854A" TYPE="ntfs" 
/dev/sda6:  UUID="be208697-408c-42f4-8a2b-ed8606f151fc" TYPE="ext4" 
/dev/sda7:  UUID="f577f518-eff1-4524-97dd-32e32890b257" TYPE="ext4" 
/dev/sda8:  UUID="3de82994-8b18-493b-a798-c67aca3f8ff9" TYPE="ext4" 
/dev/sda9:  UUID="6e8711a0-01b8-4e3e-843d-a742ac1578d1" TYPE="ext4" 
/dev/sda10: UUID="9db497be-0bfb-4603-9dd3-e762e0f5911e" TYPE="ext4" 
/dev/sda11: UUID="96186a81-db59-481b-a2f7-930feed7e9a6" TYPE="ext4" 
/dev/sda12: UUID="5ba4c4ef-b9c3-4e3c-bb4f-55a5e9772d0b" TYPE="ext4" 
/dev/sda13: UUID="656ed509-abb3-4f0f-b84a-eba37d323490" TYPE="ext4" 
/dev/sda14: UUID="c3641c66-c381-4749-bb9d-075739fb11ef" TYPE="swap" 
/dev/sda15: UUID="778718dc-4e9d-41f2-bc39-e0add2042462" TYPE="ext4" 

2. ls -l /dev/disk/by-uuid






展开阅读全文

没有更多推荐了,返回首页