{"id":290199,"date":"2024-03-01T05:09:14","date_gmt":"2024-02-29T21:09:14","guid":{"rendered":"https:\/\/lrxjmw.cn\/lxtwjgslsqcx.html"},"modified":"2024-03-01T05:09:14","modified_gmt":"2024-02-29T21:09:14","slug":"lxtwjgslsqcx","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/lxtwjgslsqcx.html","title":{"rendered":"linux\u7cfb\u7edf\u6587\u4ef6\u683c\u5f0f Linux\u795e\u5668\uff0c\u7a0b\u5e8f\u5458\u5fc5\u5907\u7684\u56db\u5927\u5229\u5668"},"content":{"rendered":"
1. ELF\uff08\u53ef\u6267\u884c\u4e0e\u94fe\u63a5\u683c\u5f0f\uff09\uff1a\u7a0b\u5e8f\u5458\u7684\u5229\u5668<\/b><\/p>\n
ELF\uff0c\u6b64\u4e43\u4e00\u5e7f\u53d7\u597d\u8bc4\u4e14\u88ab\u5e7f\u6cdb\u4f7f\u7528\u7684\u4e8c\u8fdb\u5236\u7f16\u7801\u89c4\u8303\uff0c\u5c24\u5176\u662f\u5728\u4ee5Linux<\/a>\u64cd\u4f5c\u7cfb\u7edf<\/a>\u4e3a\u4e3b\u6d41\u7684\u8fd0\u884c\u73af\u5883\u4e2d\u8fde\u63a5\u4e0e\u6267\u884c\u6587\u4ef6\u65f6\uff0c\u5176\u53d1\u6325\u7740\u81f3\u5173\u91cd\u8981\u7684\u4f5c\u7528\u3002\u8f6f\u4ef6\u5f00\u53d1\u8005\u4eec\u91c7\u7528\u6b64\u65b9\u5f0f\u7ec4\u5408\u3001\u7f16\u8f91\u53ca\u8c03\u8bd5\u5176\u4ee3\u7801linux\u57fa\u7840\u6559\u7a0b\uff0c\u65e8\u5728\u786e\u4fdd\u6240\u4ea7\u51fa\u4ee3\u7801\u5177\u6709\u826f\u597d\u7a33\u5b9a\u6027\u5e76\u9002\u7528\u4e8eLinux\u5e73\u53f0\u3002<\/p>\n 2. ext4\uff08\u7b2c\u56db\u6269\u5c55\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u5b58\u50a8\u6570\u636e\u7684\u5b89\u5168\u4e4b\u9009<\/p>\n \u76ee\u524d\uff0cExt4\u662fLinux\u4e3b\u8981\u4f7f\u7528\u7684\u6587\u4ef6\u7cfb\u7edf\u4e4b\u4e00\uff0c\u5176\u51fa\u8272\u7684\u6027\u80fd\u3001\u7a33\u5b9a\u6027\u548c\u5b89\u5168\u6027\u4f7f\u5176\u5728\u4f17\u591a\u540c\u7c7b\u7cfb\u7edf\u4e2d\u72ec\u6811\u4e00\u5e1c\u3002\u8be5\u7cfb\u7edf\u5177\u6709\u5927\u5bb9\u91cf\u5b58\u50a8\u8bbe\u5907\u7684\u9002\u7528\u6027\uff0c\u5e76\u4e14\u62e5\u6709\u9ad8\u6548\u590d\u539f\u529f\u80fd\u4ee5\u53ca\u8be6\u5c3d\u800c\u7cbe\u786e\u7684\u65e5\u5fd7\u7ba1\u7406\u548c\u76d1\u6d4b\u7cfb\u7edf\u7b49\u7279\u6027\uff0c\u4e3a\u5404\u79cd\u60c5\u51b5\u4e0b\u7684\u6570\u636e\u5b89\u5168\u4fdd\u9a7e\u62a4\u822a\u3002<\/p>\n <\/p>\n 3. procfs\uff08\u8fdb\u7a0b\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u7aa5\u63a2\u7cfb\u7edf\u5185\u5e55<\/b><\/p>\n Procfs\u4f5c\u4e3a\u4e00\u79cd\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u65e8\u5728\u4ee5\u6587\u4ef6\u65b9\u5f0f\u8bb0\u5f55\u5e76\u5b58\u50a8\u6709\u5173\u8fdb\u7a0b\u7684\u5173\u952e\u4fe1\u606f\u3002\u501f\u52a9\u8fd9\u79cd\u6280\u672f\uff0c\u7528\u6237\u53ef\u4ee5\u8f7b\u677e\u83b7\u53d6\u5173\u4e8e\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u53ca\u5176\u6240\u5728\u5185\u5b58\u4f4d\u7f6e\u548c\u5f53\u524d\u7f51\u7edc\u72b6\u6001\u7b49\u6838\u5fc3\u6570\u636e\uff0c\u4ece\u800c\u66f4\u6df1\u5165\u5730\u7406\u89e3\u5e76\u628a\u63e1\u8ba1\u7b97\u673a\u7cfb\u7edf\u7684\u6574\u4f53\u8fd0\u8f6c\u72b6\u51b5\u3002<\/p>\n <\/p>\n 4. sysfs\uff08\u7cfb\u7edf\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u7ba1\u7406\u8bbe\u5907\u4e0e\u9a71\u52a8<\/b><\/p>\n Sysfs\uff0c\u5185\u5d4c\u4e8eLinux\u6838\u5fc3\u4e2d\u7684\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u4f7f\u5f97\u901a\u8fc7\u6587\u4ef6\u4fbf\u6377\u5730\u8be6\u7ec6\u4e86\u89e3\u548c\u5e72\u9884\u8fd0\u884c\u4e2d\u7684\u7cfb\u7edf\u8bbe\u5907\u4e0e\u9a71\u52a8\u6210\u4e3a\u4e86\u53ef\u80fd\u3002\u85c9\u7531\u5176\u5f3a\u5927\u529f\u80fd\uff0c\u6211\u4eec\u4fbf\u80fd\u8f7b\u677e\u83b7\u53d6\u8bbe\u5907\u4fe1\u606f\u3001\u7cbe\u51c6\u8c03\u8282\u786c\u4ef6\u53c2\u6570linux\u7cfb\u7edf\u6587\u4ef6\u683c\u5f0f<\/strong>\uff0c\u751a\u81f3\u5b9e\u65f6\u76d1\u63a7\u8bbe\u5907\u8fd0\u884c\u72b6\u51b5\uff0c\u8fdb\u4e00\u6b65\u63d0\u9ad8\u4e86\u7cfb\u7edf\u7ba1\u7406\u4e0e\u8c03\u8bd5\u7684\u6548\u7387\u3002<\/p>\n <\/p>\n 5. tmpfs\uff08\u4e34\u65f6\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u9ad8\u901f\u7f13\u5b58\u4e0e\u6027\u80fd\u4f18\u5316<\/p>\n tmpfs\uff0c\u5373\u4e34\u65f6\u6587\u4ef6\u7cfb\u7edf\uff0c\u8fd0\u7528\u5185\u5b58\u4e3a\u6838\u5fc3\u5b58\u50a8\u5a92\u4ecb\uff0c\u6709\u6548\u7a81\u7834\u4f20\u7edf\u786c\u76d8\u9650\u5236\u3002\u56e0\u5353\u8d8a\u8bfb\u5199\u6548\u80fd\uff0c\u5c24\u5176\u9002\u5408\u4e34\u65f6\u6587\u6863\u3001\u7f13\u5b58\u548c\u4e34\u65f6\u76ee\u5f55\u7b49\u5e7f\u6cdb\u5e94\u7528\u573a\u666f\uff0c\u4ece\u800c\u5927\u5e45\u63d0\u5347\u7cfb\u7edf\u8fd0\u884c\u901f\u5ea6\u548c\u80fd\u529b\u3002<\/p>\n 6. cgroup\uff08\u63a7\u5236\u7ec4\uff09\uff1a\u8d44\u6e90\u7ba1\u7406\u7684\u5229\u5668<\/b><\/p>\n Cgroups\u4f5c\u4e3a\u8c03\u6574Linux\u5185\u6838\u8d44\u6e90\u4f7f\u7528\u53ca\u9650\u989d\u7684\u5353\u8d8a\u5de5\u5177\uff0c\u4f7f\u5f97\u7ba1\u7406\u5458\u5f97\u4ee5\u7cbe\u7ec6\u5316\u7ba1\u7406\u8fdb\u7a0b\u6216\u5206\u7ec4\u7684\u8d44\u6e90\u914d\u7f6e\u548c\u4f7f\u7528\u9650\u5236linux\u7cfb\u7edf\u6587\u4ef6\u683c\u5f0f<\/strong>\uff0c\u8fdb\u800c\u63d0\u5347\u7cfb\u7edf\u8d44\u6e90\u7684\u6548\u7387\u6027\u53ca\u603b\u4f53\u6027\u80fd\u8868\u73b0\u3002<\/p>\n <\/p>\n 7. futex\uff08\u5feb\u901f\u7528\u6237\u7a7a\u95f4\u4e92\u65a5\u9501\uff09\uff1a\u591a\u7ebf\u7a0b\u540c\u6b65\u5229\u5668<\/p>\n Futex\u5c0f\u578blinux\u7cfb\u7edf\uff0c\u53c8\u79f0\u7528\u6237\u7a7a\u95f4\u4e92\u65a5\u9501\uff0c\u5728\u591a\u7ebf\u7a0b\u6280\u672f\u4e2d\u5360\u636e\u7740\u5173\u952e\u89d2\u8272\u3002\u901a\u8fc7\u5b83\uff0c\u7ebf\u7a0b\u80fd\u591f\u9ad8\u6548\u65e0\u8bef\u5730\u5b9e\u73b0\u7528\u6237\u7a7a\u95f4\u5185\u7684\u540c\u6b65\u4e0e\u4e92\u65a5\uff0c\u786e\u4fdd\u591a\u7ebf\u7a0b\u7a0b\u5e8f\u9ad8\u6548\u7a33\u5b9a\u5730\u6267\u884c\u3002<\/p>\n \u6df1\u5165\u63a2\u7d22Linux\u7cfb\u7edf\u6587\u4ef6\u683c\u5f0f\u5c06\u5e2e\u52a9\u6211\u4eec\u66f4\u5168\u9762\u5730\u7406\u89e3\u548c\u8fdb\u9636\u8fd0\u7528\u64cd\u4f5c\u7cfb\u7edf\u57fa\u7840\u539f\u7406\u3002\u65e0\u8bba\u60a8\u662f\u7a0b\u5e8f\u5458\u3001\u7cfb\u7edf\u7ba1\u7406\u5de5\u7a0b\u5e08\u8fd8\u662f\u5bf9\u8ba1\u7b97\u673a\u79d1\u5b66\u6709\u6d53\u90c1\u5174\u8da3\u7684\u8bfb\u8005\uff0c\u8fd9\u4e9b\u77e5\u8bc6\u90fd\u5c06\u52a9\u529b\u60a8\u5728Linux\u9886\u57df\u7684\u63a2\u7d22\u4e4b\u65c5\u4e2d\u6325\u65a5\u65b9\u9052\u3002<\/p>\n","protected":false},"excerpt":{"rendered":" ELF\uff08\u53ef\u6267\u884c\u4e0e\u94fe\u63a5\u683c\u5f0f\uff09\uff1a\u7a0b\u5e8f\u5458\u7684\u5229\u5668ext4\uff08\u7b2c\u56db\u6269\u5c55\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u5b58\u50a8\u6570\u636e\u7684\u5b89\u5168\u4e4b\u9009sysfs\uff08\u7cfb\u7edf\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u7ba1\u7406\u8bbe\u5907\u4e0e\u9a71\u52a8tmpfs\uff08\u4e34\u65f6\u6587\u4ef6\u7cfb\u7edf\uff09\uff1a\u9ad8\u901f\u7f13\u5b58\u4e0e\u6027\u80fd\u4f18\u5316\u56e0\u5353\u8d8a\u8bfb\u5199\u6548\u80fd\uff0c\u5c24\u5176\u9002\u5408\u4e34\u65f6\u6587\u6863\u3001\u7f13\u5b58\u548c\u4e34\u65f6\u76ee\u5f55\u7b49\u5e7f\u6cdb\u5e94\u7528\u573a\u666f\uff0c\u4ece\u800c\u5927\u5e45\u63d0\u5347\u7cfb\u7edf\u8fd0\u884c\u901f\u5ea6\u548c\u80fd\u529b\u3002<\/p>\n","protected":false},"author":1,"featured_media":290200,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-290199","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/290199","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=290199"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/290199\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/290200"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=290199"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=290199"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=290199"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}