{"id":3165,"date":"2019-06-25T13:24:16","date_gmt":"2019-06-25T05:24:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=3165"},"modified":"2019-06-25T13:24:17","modified_gmt":"2019-06-25T05:24:17","slug":"blkid","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/blkid","title":{"rendered":"blkid\u547d\u4ee4 – \u663e\u793a\u5173\u4e8e\u53ef\u7528\u5757\u8bbe\u5907\u7684\u4fe1\u606f"},"content":{"rendered":"\n
blkid\u547d\u4ee4\u5bf9\u67e5\u8be2\u8bbe\u5907\u4e0a\u6240\u91c7\u7528\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u8fdb\u884c\u67e5\u8be2\u3002\u4e3b\u8981\u7528\u6765\u5bf9\u7cfb\u7edf\u7684\u5757\u8bbe\u5907\uff08\u5305\u62ec\u4ea4\u6362\u5206\u533a\uff09\u6240\u4f7f\u7528\u7684\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3001LABEL\u3001UUID\u7b49\u4fe1\u606f\u8fdb\u884c\u67e5\u8be2\u3002 <\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a <\/strong>blkid [\u53c2\u6570] <\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u663e\u793a\u6307\u5b9a\u8bbe\u5907 UUID\uff1a <\/p>\n\n\n\n \u663e\u793a\u6240\u6709\u8bbe\u5907 LABEL\uff1a <\/p>\n\n\n\n \u4ee5\u5217\u8868\u65b9\u5f0f\u67e5\u770b\u8be6\u7ec6\u4fe1\u606f\uff1a <\/p>\n\n\n\n \u663e\u793a\u6240\u6709\u8bbe\u5907\uff1a <\/p>\n\n\n\n \u663e\u793a\u6240\u6709\u8bbe\u5907\u6587\u4ef6\u7cfb\u7edf\uff1a<\/p>\n\n\n\n blkid\u547d\u4ee4\u5bf9\u67e5\u8be2\u8bbe\u5907\u4e0a\u6240\u91c7\u7528\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u8fdb\u884c\u67e5\u8be2\u3002\u4e3b\u8981\u7528\u6765\u5bf9\u7cfb\u7edf\u7684\u5757\u8bbe\u5907\uff08\u5305\u62ec\u4ea4\u6362\u5206\u533a\uff09\u6240\u4f7f\u7528\u7684\u6587\u4ef6\u7cfb\u7edf\u7c7b […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3165"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=3165"}],"version-history":[{"count":7,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3165\/revisions"}],"predecessor-version":[{"id":3528,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/3165\/revisions\/3528"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=3165"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=3165"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=3165"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-s<\/td> \u663e\u793a\u6307\u5b9a\u4fe1\u606f<\/td><\/tr> -v<\/td> \u663e\u793a\u7248\u672c\u4fe1\u606f<\/td><\/tr> -g<\/td> \u6536\u96c6blkid\u7f13\u5b58 <\/td><\/tr> -i<\/td> \u6536\u96c6\u6709\u5173i\/o\u9650\u5236\u7684\u4fe1\u606f <\/td><\/tr> -p<\/td> \u4f4e\u7ea7\u8d85\u7ea7\u5757\u63a2\u6d4b(\u65c1\u8def\u7f13\u5b58) <\/td><\/tr><\/tbody><\/table>\n\n\n\n [root@linuxcool ~]# blkid -s UUID \/dev\/sda5 <\/pre>\n\n\n\n
[root@linuxcool ~]# blkid -s LABEL <\/pre>\n\n\n\n
[root@linuxcool ~]# blkid -o list <\/pre>\n\n\n\n
[root@linuxcool ~]# blkid -o device <\/pre>\n\n\n\n
[root@linuxcool ~]# blkid -s TYPE <\/pre>\n","protected":false},"excerpt":{"rendered":"