免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1055 | 回复: 0
打印 上一主题 下一主题

查看UUID的方法 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-10-11 13:34 |只看该作者 |倒序浏览

               
               
               
                pybull@pybull-laptop:~$ sudo blkid
/dev/sda1: UUID="00881B75881B6904" TYPE="ntfs"
/dev/sda2: UUID="F4AC00CAAC0088F6" LABEL="Local Disk" TYPE="ntfs"
/dev/sda5: UUID="51f4836f-55ef-470f-989d-b030def611f8" TYPE="ext4"
/dev/sda6: TYPE="swap" UUID="9c393492-4346-44b4-93e9-d24d8a800732"
/dev/sda7: UUID="581a6666-b7d1-48f5-8ac0-fe81290d57ac" TYPE="ext4"
/dev/sda8: UUID="92ca5702-24f6-4906-a762-34a1ca0baecb" TYPE="ext4"
pybull@pybull-laptop:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2009-10-11 21:11 00881B75881B6904 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-10-11 21:11 51f4836f-55ef-470f-989d-b030def611f8 -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-10-11 21:11 581a6666-b7d1-48f5-8ac0-fe81290d57ac -> ../../sda7
lrwxrwxrwx 1 root root 10 2009-10-11 21:11 92ca5702-24f6-4906-a762-34a1ca0baecb -> ../../sda8
lrwxrwxrwx 1 root root 10 2009-10-11 21:11 9c393492-4346-44b4-93e9-d24d8a800732 -> ../../sda6
lrwxrwxrwx 1 root root 10 2009-10-11 21:11 F4AC00CAAC0088F6 -> ../../sda2
pybull@pybull-laptop:~$ sudo vol_id /dev/sda1
ID_FS_USAGE=filesystem
ID_FS_TYPE=ntfs
ID_FS_VERSION=3.1
ID_FS_UUID=00881B75881B6904
ID_FS_UUID_ENC=00881B75881B6904
ID_FS_LABEL=
ID_FS_LABEL_ENC=


本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/103148/showart_2067642.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP