{"id":258645,"date":"2022-12-11T09:00:42","date_gmt":"2022-12-11T01:00:42","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=258645"},"modified":"2022-12-06T21:08:40","modified_gmt":"2022-12-06T13:08:40","slug":"redhat-composefs","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/redhat-composefs.html","title":{"rendered":"Red Hat \u6b63\u5728\u5f00\u53d1\u65b0\u7684 \u201cComposefs\u201d Linux \u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u7ea2\u5e3d\u5de5\u7a0b\u5e08 Alexander Larsso \u4e0e Giuseppe Scrivano\u00a0\u5ba3\u5e03\u5f00\u53d1\u4e00\u4e2a\u65b0\u7684 Linux \u5185\u6838\u6587\u4ef6\u7cfb\u7edf \u201cComposefs\u201d \uff0cComposefs \u662f\u4e00\u4e2a\u65b0\u7684\u673a\u4f1a\u5171\u4eab\uff08opportunistically-sharing\uff09\u548c\u53ef\u9a8c\u8bc1\u7684\u53ea\u8bfb<\/span>\u6587\u4ef6\u7cfb\u7edf\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u7b80\u5355\u6765\u8bf4\uff0ccomposefs \u662f\u4e00\u79cd\u6784\u5efa\u548c\u4f7f\u7528\u53ea\u8bfb\u6620\u50cf\uff08read only images\uff09\u7684\u65b9\u6cd5\uff0c\u8fd9\u4e9b\u6620\u50cf\u7684\u4f7f\u7528\u65b9\u5f0f\u7c7b\u4f3c\u4f7f\u7528\u56de\u73af\u7684 squashfs \u6620\u50cf\u3002\u4f46\u9664\u6b64\u4e4b\u5916\uff0ccomposefs \u8fd8\u6709\u4e24\u4e2a\u65b0\u7684\u7279\u6027\uff1a\u5b83\u5141\u8bb8\u5728\u6620\u50cf\u4e4b\u95f4\u5171\u4eab\u6587\u4ef6\u6570\u636e\uff08\u78c1\u76d8\u4e0a\u548c\u9875\u9762\u7f13\u5b58\u4e2d\uff09\uff0c\u5176\u6b21\u5b83\u5177\u6709\u7c7b\u4f3c dm-verity \u7684\u8bfb\u53d6\u9a8c\u8bc1\u3002<\/p>\n

squashfs \u662f\u4e00\u5957\u57fa\u4e8e Linux \u5185\u6838\u7684\u538b\u7f29\u53ea\u8bfb\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b83\u53ef\u4ee5\u5c06\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u6216\u8005\u67d0\u4e2a\u5355\u4e00\u76ee\u5f55\u538b\u7f29\u6210\u53ea\u8bfb\u6587\u4ef6\uff0c\u7136\u540e\u5b58\u653e\u5728\u67d0\u4e2a\u8bbe\u5907\u3001\u5206\u533a\u6216\u8005\u666e\u901a\u7684\u6587\u4ef6\u4e2d\u3002<\/p>\n

\u5982\u679c\u4f60\u5c06\u8be5\u6587\u4ef6\u538b\u7f29\u5230\u4e00\u4e2a\u8bbe\u5907\u4e2d\uff0c\u5219\u53ef\u4ee5\u5c06\u8be5\u6620\u50cf mount \u8d77\u6765\u4f7f\u7528\uff0c\u800c\u5982\u679c\u5b83\u4ec5\u4ec5\u662f\u4e2a\u6587\u4ef6\uff0c\u5219\u53ef\u4ee5\u5c06\u5176\u5f53\u6210\u4e00\u4e2a\u56de\u73af\uff08loopback\uff09\u8bbe\u5907\u4f7f\u7528\u3002<\/p>\n

\n
\n

\"\"<\/p>\n

\u76ee\u524d Composefs \u6709\u4e24\u4e2a\u8f83\u4e3a\u9002\u5408\u7684\u521d\u59cb\u7528\u4f8b\uff0c\u7b2c\u4e00\u4e2a\u662f\u5bf9 podman \u5bb9\u5668\u5c42\u4f7f\u7528\u673a\u4f1a\u5171\u4eab\uff1a\u4f7f\u7528 composefs \u6302\u8f7d\u4f5c\u4e3a\u8986\u76d6\u6302\u8f7d\u4e2d\u7684\u4e0b\u5c42\u76ee\u5f55\uff0c\u4e0a\u5c42\u76ee\u5f55\u662f\u5bb9\u5668\u5de5\u4f5c\u76ee\u5f55\uff0cComposefs \u5141\u8bb8\u5728\u4efb\u610f\u4e24\u4e2a\u6620\u50cf\u4e4b\u95f4\u81ea\u52a8\u5171\u4eab\u6587\u4ef6\u7ea7\u78c1\u76d8\u548c\u9875\u9762\u7f13\u5b58\uff0c\u800c\u4e0d\u53d7\u6587\u4ef6\u6743\u9650\u548c\u65f6\u95f4\u6233\u3001\u6620\u50cf\u6765\u6e90\u7b49\u7ec6\u8282\u7684\u5f71\u54cd\u3002<\/p>\n

\u5176\u6b21\u662f\u5728 ostree \u9879\u76ee\u4e2d\u4f7f\u7528 composefs \u7684\u9a8c\u8bc1\u7279\u6027\u3002Ostree \u4f7f\u7528\u5185\u5bb9\u5bfb\u5740\u5bf9\u8c61\u5b58\u50a8\uff0c\u4f46\u5b83\u76ee\u524d\u88ab\u786c\u94fe\u63a5\u573a\u5f15\u7528\u3002\u5728\u4e0b\u8f7d\u65f6\uff0c\u5bf9\u8c61\u5b58\u50a8\u548c\u5f15\u7528\u5b83\u7684\u6811\u4f1a\u9700\u8981\u7b7e\u540d\u548c\u9a8c\u8bc1\uff0c\u4f46\u8fd0\u884c\u65f6\u4e0d\u4f1a\u6709\u9a8c\u8bc1\u3002\u5982\u679c\u7528\u6307\u5411\u73b0\u6709\u5bf9\u8c61\u5b58\u50a8\u7684 composefs \u6620\u50cf\u66ff\u6362\u786c\u94fe\u63a5\u573a\uff0c\u5219\u53ef\u4ee5\u5b9e\u73b0\u8fd0\u884c\u65f6\u9a8c\u8bc1\u3002<\/p>\n

\u73b0\u5728\u6709\u516d\u4e2a RFC \u8865\u4e01\u5b9e\u73b0\u4e86 Composefs \u7684\u5185\u6838\u9a71\u52a8\u7a0b\u5e8f\uff0c\u800c Composefs \u7684\u7528\u6237\u7a7a\u95f4\u5de5\u5177\u5219\u5728 GitHub \u4e0a\u7684\u00a0composefs \u4ed3\u5e93\u8fdb\u884c\u5f00\u53d1\u3002<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"

\u7b80\u5355\u6765\u8bf4\uff0ccomposefs \u662f\u4e00\u79cd\u6784\u5efa\u548c\u4f7f\u7528\u53ea\u8bfb\u6620\u50cf\uff08read only images\uff09\u7684\u65b9\u6cd5\uff0c\u8fd9\u4e9b\u6620\u50cf\u7684\u4f7f […]<\/p>\n","protected":false},"author":309,"featured_media":258673,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[21],"tags":[],"class_list":["post-258645","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/258645","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/309"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=258645"}],"version-history":[{"count":8,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/258645\/revisions"}],"predecessor-version":[{"id":259002,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/258645\/revisions\/259002"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/258673"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=258645"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=258645"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=258645"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}