{"id":5365,"date":"2019-10-30T19:09:16","date_gmt":"2019-10-30T11:09:16","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5365"},"modified":"2019-10-30T19:09:17","modified_gmt":"2019-10-30T11:09:17","slug":"mkfifo","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mkfifo","title":{"rendered":"mkfifo\u547d\u4ee4 – \u521b\u5efaFIFO\u6587\u4ef6"},"content":{"rendered":"\n

\u4f7f\u7528mkfifo\u547d\u4ee4\u53ef\u4ee5\u4f7f\u7528\u6307\u5b9a\u7684\u540d\u79f0\u521b\u5efa\u5148\u8fdb\u5148\u51fa\u6587\u4ef6\uff08FIFO\uff09<\/p>\n\n\n\n

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

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-m <\u6a21\u5f0f><\/td>\u8bbe\u7f6e\u6743\u9650\u6a21\u5f0f\uff0c\u7c7b\u4f3cchmod<\/td><\/tr>
-Z <CTX><\/td>\u5c06\u6bcf\u4e2a\u521b\u5efa\u7684\u76ee\u5f55SELinux\u5b89\u5168\u73af\u5883\u8bbe\u7f6e\u4e3aCTX<\/td><\/tr><\/tbody><\/table>\n\n\n\n

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

\u521b\u5efaFIFO\u6587\u4ef6 \/root\/fifo\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# mkfifo \/root\/fifo<\/pre>\n","protected":false},"excerpt":{"rendered":"

\u4f7f\u7528mkfifo\u547d\u4ee4\u53ef\u4ee5\u4f7f\u7528\u6307\u5b9a\u7684\u540d\u79f0\u521b\u5efa\u5148\u8fdb\u5148\u51fa\u6587\u4ef6\uff08FIFO\uff09 \u8bed\u6cd5\u683c\u5f0f\uff1amkfifo [\u53c2\u6570] [\u540d\u79f0] […]<\/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\/5365"}],"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=5365"}],"version-history":[{"count":2,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5365\/revisions"}],"predecessor-version":[{"id":5369,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5365\/revisions\/5369"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}