{"id":242067,"date":"2022-05-18T09:00:10","date_gmt":"2022-05-18T01:00:10","guid":{"rendered":"https:\/\/gulass.cn\/?p=242067"},"modified":"2022-05-08T21:52:43","modified_gmt":"2022-05-08T13:52:43","slug":"rust-redox-os","status":"publish","type":"post","link":"https:\/\/gulass.cn\/rust-redox-os.html","title":{"rendered":"\u57fa\u4e8eUnix \u98ce\u683c\u7684 Redox OS 0.7.0 \u53d1\u5e03"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4eca\u5929\uff0c\u6211\u4eec\u8981\u4ecb\u7ecd\u7684\u4e3b\u89d2\u662f Redox OS\uff0c\u5b83\u4e13\u6ce8\u4e8e\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u3002\u6211\u4eec \u65e9\u5728 2016 \u5e74\u5c31\u62a5\u9053\u8fc7\u5b83\uff0c\u90a3\u65f6\u5b83\u8fd8\u5904\u4e8e\u5f00\u53d1\u65e9\u671f\u9636\u6bb5(\u5982\u679c\u4f60\u611f\u5174\u8da3\u7684\u8bdd)\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

Unix \u98ce\u683c\u7684 Redox OS 0.7.0 \u53d1\u5e03\u4e86\uff0c\u5b83\u6b64\u6b21\u5e26\u6765\u4e86\u51e0\u9879\u6539\u8fdb\uff0c\u805a\u7126\u4e8e\u5728\u6700\u5e7f\u6cdb\u7684\u786c\u4ef6\u4e0a\u542f\u52a8\u3002<\/p>\n

\u6bcf\u5e74\u7684\u8fd9\u4e2a\u65f6\u5019\uff0c\u6211\u4eec\u90fd\u4f1a\u7ee7\u7eed\u89c2\u5bdf\u62a5\u9053 Ubuntu \u548c\u57fa\u4e8e\u5b83\u7684\u53d1\u884c\u7248\u7684\u65b0\u7248\u672c\uff0c\u4f46\u662f\u4eca\u5929\u4e0d\u4e00\u6837\u3002<\/p>\n

\u4eca\u5929\uff0c\u6211\u4eec\u8981\u4ecb\u7ecd\u7684\u4e3b\u89d2\u662f Redox OS\uff0c\u5b83\u4e13\u6ce8\u4e8e\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u3002\u6211\u4eec \u65e9\u5728 2016 \u5e74\u5c31\u62a5\u9053\u8fc7\u5b83\uff0c\u90a3\u65f6\u5b83\u8fd8\u5904\u4e8e\u5f00\u53d1\u65e9\u671f\u9636\u6bb5(\u5982\u679c\u4f60\u611f\u5174\u8da3\u7684\u8bdd)\u3002<\/p>\n

\u5b83\u5927\u81f4\u4e0a\u7c7b\u4f3c Unix\uff0c\u4f46\u5374\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u64cd\u4f5c\u7cfb\u7edf\u3002\u6b64\u5916\uff0c\u5b83\u5b8c\u5168\u4f7f\u7528 Rust \u4ece\u96f6\u5f00\u59cb\u7f16\u5199\u3002Rust \u662f\u4e00\u4e2a\u6d41\u884c\u7684\u5185\u5b58\u5b89\u5168\u7684\u7f16\u7a0b\u8bed\u8a00\u3002<\/p>\n

Redox OS \u7684\u53e6\u4e00\u4e2a\u4e3b\u8981\u7279\u70b9\u662f\u5b83\u91c7\u7528\u4e86\u5fae\u5185\u6838\u8bbe\u8ba1\u65b9\u6cd5\u3002\u8fd9\u610f\u5473\u7740\u4e0e Linux \u5b8f\u5185\u6838\u76f8\u6bd4\uff0c\u5b83\u7684\u4f53\u79ef\u548c\u4f7f\u7528\u7684\u57fa\u672c\u529f\u80fd\u90fd\u6bd4\u8f83\u5c11\u3002<\/p>\n

\u7248\u672c\u66f4\u65b0\u4ecb\u7ecd<\/strong><\/div>\n

\u65b0\u53d1\u5e03\u7684 Redox OS \u4fa7\u91cd\u4e8e\u64cd\u4f5c\u7cfb\u7edf\u7684\u6700\u57fa\u7840\u90e8\u5206\uff0c\u5e76\u4e14\u65e8\u5728\u6269\u5c55\u786c\u4ef6\u652f\u6301\u3002\u8ba9\u6211\u4eec\u6765\u770b\u770b\u8fd9\u4e2a\u7248\u672c\u5e26\u6765\u4e86\u4ec0\u4e48\u66f4\u65b0\u5427!<\/p>\n

\u6539\u8fdb\u7684\u6587\u4ef6\u7cfb\u7edf<\/strong><\/div>\n

Redox \u9644\u5e26\u4e00\u4e2a\u540d\u4e3a RedoxFS \u7684\u81ea\u5b9a\u4e49\u6587\u4ef6\u7cfb\u7edf\uff0c\u8fd9\u4e2a\u6587\u4ef6\u7cfb\u7edf\u4e5f\u4e0e Linux \u517c\u5bb9\u3002<\/p>\n

RedoxFS \u76ee\u524d\u662f\u4e00\u4e2a\u5199\u65f6\u590d\u5236copy-on-Write\u6587\u4ef6\u7cfb\u7edf\uff0c\u5f53\u786c\u4ef6\u52a0\u901f\u529f\u80fd\u53ef\u7528\u65f6\uff0c\u652f\u6301\u4f7f\u7528 AES(\u9ad8\u7ea7\u52a0\u5bc6\u6807\u51c6)\u8fdb\u884c\u900f\u660e\u52a0\u5bc6\u3002<\/p>\n

\u91cd\u5199\u7684\u5f15\u5bfc\u7a0b\u5e8f<\/strong><\/div>\n

\u5f15\u5bfc\u7a0b\u5e8f\u5df2\u7ecf\u88ab\u5b8c\u5168\u4fee\u6539\uff0c\u73b0\u5728 UEFI \u548c BIOS \u7248\u672c\u5171\u7528\u4e86\u76f8\u540c\u7684\u4ee3\u7801\u3002<\/p>\n

\u6b64\u5916\uff0c\u64cd\u4f5c\u7cfb\u7edf\u4e5f\u5171\u4eab\u76f8\u540c\u7684\u9a71\u52a8\u4ee3\u7801\u4ee5\u63d0\u9ad8\u5b89\u5168\u6027\u3002\u8fd9\u610f\u5473\u7740\u6587\u4ef6\u7cfb\u7edf\u53ef\u4ee5\u88ab\u5f15\u5bfc\u7a0b\u5e8f\u89e3\u9501\uff0c\u4ee5\u5bf9\u5185\u6838\u548c initfs \u8fdb\u884c\u52a0\u5bc6\u548c\u54c8\u5e0c\u3002<\/p>\n

\u5fae\u5185\u6838\u7684\u66f4\u65b0<\/strong><\/div>\n

\u5176\u5fae\u5185\u6838\u5df2\u7ecf\u7ecf\u5386\u4e86\u51e0\u6b21\u4fee\u590d\u548c\u66f4\u65b0\uff0c\u4ee5\u63d0\u9ad8\u6027\u80fd\u5e76\u5e26\u6765\u66f4\u597d\u7684\u786c\u4ef6\u652f\u6301\u3002<\/p>\n

\u4f8b\u5982\uff0c\u5b83\u589e\u52a0\u4e86\u5bf9 ARM(aarch64)\u548c\u672a\u6765\u7f16\u8bd1\u5668\u7684\u652f\u6301\u3002<\/p>\n

\u5185\u6838\u5f3a\u5236\u5bf9\u6240\u6709\u7cfb\u7edf\u8def\u5f84\u8fdb\u884c UTF-8 \u7f16\u7801\uff0c\u5e76\u4f7f\u7528\u4e86 acpid \u2014\u2014 \u7528\u4e8e\u7535\u6e90\u7ba1\u7406\u7684\u5b88\u62a4\u7a0b\u5e8f\u3002<\/p>\n

\u7531\u4e8e initfs \u88ab\u79fb\u5230\u4e86\u4e00\u4e2a\u5355\u72ec\u7684\u6587\u4ef6\u4e2d\uff0c\u6253\u5305\u6027\u80fd\u4e5f\u5f97\u5230\u4e86\u63d0\u5347\u3002<\/p>\n

\u5176\u4ed6\u7279\u6027<\/strong><\/div>\n

Redox OS \u66f4\u65b0\u4e86 rustc(Rust \u7f16\u8bd1\u5668)\u548c reibc(\u57fa\u4e8e Rust \u7684 C \u5e93)\uff0c\u4ee5\u63d0\u9ad8\u8f6f\u4ef6\u652f\u6301\u3001\u6027\u80fd\u548c\u79fb\u690d\u6027\u3002<\/p>\n

\u4f60\u4e5f\u53ef\u4ee5\u9605\u8bfb \u5b98\u65b9\u535a\u6587 \u6216\u5176 GitLab \u9875\u9762 \u4ee5\u4e86\u89e3\u66f4\u591a\u5173\u4e8e\u8be5\u7248\u672c\u7684\u4fe1\u606f\u3002<\/p>\n

\u7ed3\u8bed<\/strong><\/div>\n

\u9700\u8981\u6ce8\u610f\u7684\u662f\uff0cRedox OS \u53ef\u80fd\u4e0d\u662f\u5927\u591a\u6570\u4eba\u7684\u66ff\u4ee3\u54c1\u3002\u7136\u800c\uff0c\u968f\u7740\u5f00\u53d1\u8005(Jeremy Soller)\u4e3a\u672a\u6765\u8ba1\u5212\u7684\u4e00\u7cfb\u5217\u6539\u8fdb\uff0c\u5b83\u53ef\u4ee5\u6210\u4e3a\u4e00\u4e2a\u6709\u5e0c\u671b\u7684\u66ff\u4ee3\u54c1\u3002<\/p>\n

\u5f00\u53d1\u8005\u8fd8\u8ba1\u5212\u5b9a\u671f\u53d1\u5e03\u65b0\u7248\u672c\u3002\u56e0\u6b64\uff0c\u6211\u4eec\u53ef\u4ee5\u671f\u5f85 Redox OS \u5728\u4e0d\u4e45\u7684\u5c06\u6765\u4f1a\u4e3a\u6211\u4eec\u5e26\u6765\u4ec0\u4e48\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"

Unix \u98ce\u683c\u7684 Redox OS 0.7.0 \u53d1\u5e03\u4e86\uff0c\u5b83\u6b64\u6b21\u5e26\u6765\u4e86\u51e0\u9879\u6539\u8fdb\uff0c\u805a\u7126\u4e8e\u5728\u6700\u5e7f\u6cdb\u7684\u786c\u4ef6\u4e0a\u542f\u52a8\u3002 \u6bcf […]<\/p>\n","protected":false},"author":323,"featured_media":41553,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-242067","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/242067","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/users\/323"}],"replies":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/comments?post=242067"}],"version-history":[{"count":4,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/242067\/revisions"}],"predecessor-version":[{"id":242193,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/posts\/242067\/revisions\/242193"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media\/41553"}],"wp:attachment":[{"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/media?parent=242067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/categories?post=242067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gulass.cn\/wp-json\/wp\/v2\/tags?post=242067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}