{"id":4366,"date":"2019-07-27T12:46:45","date_gmt":"2019-07-27T04:46:45","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=4366"},"modified":"2019-07-27T12:46:46","modified_gmt":"2019-07-27T04:46:46","slug":"mknod","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mknod","title":{"rendered":"mknod\u547d\u4ee4 – \u521b\u5efa\u5b57\u7b26\u8bbe\u5907\u6587\u4ef6\u548c\u5757\u8bbe\u5907\u6587\u4ef6"},"content":{"rendered":"\n

Linux\u4e00\u5207\u7686\u6587\u4ef6\uff0c\u7cfb\u7edf\u4e0e\u8bbe\u5907\u901a\u4fe1\u4e4b\u524d\uff0c\u8981\u5efa\u7acb\u4e00\u4e2a\u5b58\u653e\u5728\/dev\u76ee\u5f55\u4e0b\u7684\u8bbe\u5907\u6587\u4ef6\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5c31\u5df2\u7ecf\u751f\u6210\u4e86\u5f88\u591a\u8bbe\u5907\u6587\u4ef6\uff0c\u6709\u65f6\u5019\u81ea\u5df1\u624b\u52a8\u65b0\u5efa\u4e00\u4e9b\u8bbe\u5907\u6587\u4ef6\uff0c\u8fd9\u5c31\u4f1a\u7528\u5230mknod\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mknod [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-Z <\/td>\u8bbe\u7f6e\u5b89\u5168\u7684\u4e0a\u4e0b\u6587 <\/td><\/tr>
-m<\/td>\u8bbe\u7f6e\u6743\u9650\u6a21\u5f0f \uff0c\u7f3a\u7701\u4e3a\u8bfb\u5199<\/td><\/tr>
b<\/td>\u5757\u8bbe\u5907<\/td><\/tr>
c<\/td>\u5b57\u7b26\u8bbe\u5907<\/td><\/tr>
-help<\/td>\u663e\u793a\u5e2e\u52a9\u4fe1\u606f <\/td><\/tr>
--version<\/td>\u663e\u793a\u7248\u672c\u4fe1\u606f <\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a”linuxcool”\u7684\u5b57\u7b26\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mknod linuxcool c 30 1<\/pre>\n\n\n\n

\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a”linuxcool”\u7684\u5757\u8bbe\u5907\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mknod linuxcool b 50 0<\/pre>\n","protected":false},"excerpt":{"rendered":"

Linux\u4e00\u5207\u7686\u6587\u4ef6\uff0c\u7cfb\u7edf\u4e0e\u8bbe\u5907\u901a\u4fe1\u4e4b\u524d\uff0c\u8981\u5efa\u7acb\u4e00\u4e2a\u5b58\u653e\u5728\/dev\u76ee\u5f55\u4e0b\u7684\u8bbe\u5907\u6587\u4ef6\uff0c\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u5c31\u5df2\u7ecf\u751f\u6210\u4e86\u5f88\u591a […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4366"}],"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=4366"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4366\/revisions"}],"predecessor-version":[{"id":4429,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/4366\/revisions\/4429"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=4366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=4366"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=4366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}