linux\u7cfb\u7edf\u6587\u4ef6\u683c\u5f0f<\/strong>\uff0c\u5757\u513f\u6570\uff0c\u6307\u5411\u4e0b\u4e00\u4e2a\u6269\u5145\u5757\u7684\u8868\u9488\u3011<\/p>\n2.\u94fe\u63a5\u5206\u914d<\/p>\n
<\/p>\n
\u6bcf\u4f4d\u6587\u4ef6\u662fc\u76d8\u5757\u513f\u7684\u6570\u7ec4\uff0cc\u76d8\u5757\u5206\u5e03\u5728c\u76d8\u7684\u4efb\u4f55\u5730\u65b9\uff0c\u6587\u4ef6\u6709\u8d77\u59cb\u5757\u548c\u7ed3\u675f\u5757\u6765\u5b9a\u4e49<\/p>\n
\u5b9a\u4e49\u683c\u5f0f\uff1a\u3010\u8d77\u59cb\u5757\uff0c\u7ed3\u675f\u5757\u3011<\/p>\n
\u540c\u65f6\uff0c\u6bcf\u4f4dc\u76d8\u5757\u90fd\u6709\u6307\u5411\u4e0b\u4e00\u4e2ac\u76d8\u5757\u7684\u5730\u5740\u3002<\/p>\n
\u4f18\u70b9\uff1a\u6ca1\u6709c\u76d8\u7a7a\u95f4\u6d6a\u8d39<\/p>\n
\u7f3a\u70b9\uff1a<\/p>\n
\u4e0d\u652f\u6301\u6587\u4ef6\u7684\u76f4\u63a5\u8bbf\u95ee\u987b\u8981\u66f4\u591a\u7684c\u76d8\u7a7a\u95f4\uff08\u6765\u8bb0\u5f55\u8868\u9488\uff09<\/p>\n
\u94fe\u63a5\u5206\u914d\u7684\u4e00\u4e2a\u91cd\u8981\u53d8\u79cd\u662f\u6587\u4ef6\u5206\u914d\u8868<\/p>\n
\u6bcf\u4f4d\u5377\u7684\u5f00\u59cb\u90e8\u4efd\u7528\u4e8e\u50a8\u5b58\u6587\u4ef6\u5206\u914d\u8868(FileAllocationTable)\uff0c\u8868\u4e2d\u6bcf\u4f4dc\u76d8\u5757\u90fd\u6709\u4e00\u4e2aFAT\u6761\u76eelinux\u89c6\u9891\uff0c\u5e76\u53ef\u901a\u8fc7\u5757\u53f7\u7d22\u5f15\u3002\uff08\u672a\u4f7f\u7528\u7684\u5757\u4e3a0\uff0c\u4f7f\u7528\u7684\u5757\u5305\u542b\u4e0b\u4e00\u4e2a\u5757\u513f\u53f7\uff09<\/p>\n
<\/p>\n
\u76ee\u5f55\u6761\u76ee\u5bcc\u542b\u6587\u4ef6\u9996\u5757\u53f7\u7801\uff0c\u901a\u8fc7\u8fd9\u4e2a\u5757\u53f7\u7d22\u5f15\u7684FAT\u6761\u76ee\u5305\u542b\u6587\u4ef6\u4e0b\u4e00\u5757\u7684\u53f7\u7801\uff0c\u8fd9\u4e2a\u94fe\u4f1a\u7ee7\u7eed\u4e0b\u53bb\uff0c\u76f4\u81f3\u6700\u540e\u4e00\u5757\uff0c\u6700\u540e\u4e00\u5757\u7684\u8868\u6761\u76ee\u503c\u4e3a\u6587\u4ef6\u7ed3\u675f\u503c\u3002<\/p>\n
3.\u7d22\u5f15\u5206\u914d<\/p>\n
\u901a\u8fc7\u5c06\u6240\u6709\u8868\u9488\u7f6e\u4e8e\u4e00\u8d77\uff0c\u5373\u7d22\u5f15\u5757<\/p>\n
\u6587\u4ef6\u7528\u7d22\u5f15\u5757\u6765\u5b9a\u4e49\uff0c\u6bcf\u4f4d\u6587\u4ef6\u6709\u5176\u7d22\u5f15\u5757\u3002<\/p>\n
\u8fd9\u513f\u6709\u4e00\u4e2a\u95ee\u9898\uff0c\u7d22\u5f15\u5757\u5e94\u4e3a\u591a\u5927\uff1f<\/p>\n
\u6bcf\u4f4d\u6587\u4ef6\u5fc5\u987b\u6709\u4e00\u4e2a\u7d22\u5f15\u5757\uff0c\u56e0\u800c\u7d22\u5f15\u5757\u5e94\u5c3d\u53ef\u80fd\u5c0f\uff0c\u4f46\u662f\u4e0d\u80fd\u592a\u5c0f\uff0c\u5426\u5219\u653e\u4e0d\u4e0b\u8db3\u591f\u591a\u7684\u8868\u9488\uff0c\u4e3a\u5904\u7406\u8fd9\u4e2a\u95ee\u9898\uff0c\u6709\u5982\u4e0b\u4e00\u4e9b\u673a\u5236\uff1a<\/p>\n
<\/p>\n
\u94fe\u63a5\u65b9\u6848\uff1a\u4e3a\u4e86\u5904\u7406\u5927\u6587\u4ef6\uff0c\u53ef\u4ee5\u5c06\u591a\u4e2a\u7d22\u5f15\u5757\u94fe\u63a5\u4e0a\u53bb\u591a\u5c42\u6b21\u7d22\u5f15\uff1a\u7528\u7b2c\u4e00\u5c42\u7d22\u5f15\u5757\u6307\u5411\u4e00\u7ec4\u7b2c\u4e8c\u5c42\u7684\u7d22\u5f15\u5757\uff0c\u7b2c\u4e8c\u5c42\u7d22\u5f15\u5757\u518d\u6307\u5411\u6587\u4ef6\u5757\u7ec4\u5408\u65b9\u6848\uff1a\u7528\u4e8e\u57fa\u4e8eUNIX\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5c06\u7d22\u5f15\u5757\u7684\u524d15\u4e2a\u8868\u9488\u50a8\u5b58\u5728\u6587\u4ef6\u7684i-node\u4e2d\u3002\u5176\u4e2d\uff0c\u524d12\u4e2a\u8868\u9488\u6307\u5411\u76f4\u63a5\u5757\uff0c\u5269\u4e0b3\u4e2a\u8868\u9488\u6307\u5411\u95f4\u63a5\u5757<\/p>\n
<\/p>\n
\u4e94\u3001\u78c1\u76d8\u7a7a\u95f2\u7a7a\u95f4\u7684\u7ba1\u74061.\u4f4d\u5411\u91cf<\/p>\n
\u7a7a\u95f2\u7a7a\u95f4\u8868\u5b9e\u73b0\u4e3a\u4f4d\u56fe,\u6216\u4f4d\u5411\u91cf\uff0c\u6bcf\u5757\u7528\u4e00\u4f4d\uff08bit\uff09\u8868\u793a\u30021\u8868\u793a\u5757\u7a7a\u95f2\uff1b0\u8868\u793a\u5757\u5df2\u5206\u914d<\/p>\n
2.\u6570\u7ec4<\/p>\n
\u6240\u6709\u7a7a\u95f2\u5757\u7528\u6570\u7ec4\u94fe\u63a5\u4e0a\u53bb\uff0c\u5e76\u5c06\u6307\u5411\u7b2c\u4e00\u4e2a\u7a7a\u95f2\u5757\u513f\u7684\u8868\u9488\u4fdd\u5b58\u5728\u7279\u6b8a\u4f4d\u7f6e\uff0c\u540c\u65f6\u7f13\u5b58\u5728\u663e\u5b58\u3002<\/p>\n
\u6bcf\u4f4d\u5757\u513f\u5bcc\u542b\u4e0b\u4e00\u4e2a\u5757\u513f\u7684\u8868\u9488<\/p>\n
3.\u7ec4<\/p>\n
\u5c06n\u4e2a\u7a7a\u95f2\u5757\u7684\u5730\u5740\u4fdd\u5b58\u5728\u7b2c\u4e00\u4e2a\u7a7a\u95f2\u5757\u4e2d\u3002<\/p>\n
\u8fd9\u79cd\u7a7a\u95f2\u5757\u4e2d\u7684\u524dn\uff0d1\u4e2a\u4e3a\u7a7a\uff0c\u800c\u6700\u540e\u4e00\u5757\u5305\u542b\u53e6\u5916n\u4e2a\u7a7a\u95f2\u5757\u7684\u5730\u5740\u3002<\/p>\n
\u6bd4\u6570\u7ec4\u597d\u7684\u662f\u7a7a\u95f2\u5757\u7684\u5730\u5740\u53ef\u4ee5\u5f88\u5feb\u627e\u5230\uff0c\u5e76\u4e14\u53ef\u4ee5\u660e\u6670\u4e00\u6bb5\u8fde\u7eed\u7a7a\u95f2\u5757\u7a7a\u95f4<\/p>\n
\u4f8b\uff1an=3<\/p>\n
<\/p>\n
4.\u8ba1\u6570<\/p>\n
\u57fa\u4e8e\u4ee5\u4e0b\u4e8b\u5b9e\uff1a<\/p>\n
\u4e00\u822c\u6709\u591a\u4e2a\u8fde\u7eed\u5757\u987b\u8981\u540c\u65f6\u5206\u914d\u6216\u91ca\u653e\uff0c\u5c24\u5176\u662f\u5728\u4f7f\u7528\u8fde\u7eed\u5206\u914d\u65f6\u3002\u56e0\u800c\u8bb0\u5f55<\/p>\n
\u4f8b\uff1a<\/p>\n
<\/p>\n
\u516d\u3001\u6587\u4ef6\u7cfb\u7edf\u7684\u6027\u80fd\u548c\u6548\u7387<\/p>\n
<\/p>\n
c\u76d8\u7a7a\u95f4\u7684\u6709\u6548\u4f7f\u7528\uff08\u6548\u7387\uff09\uff0c\u53d6\u51b3\u4e8e<\/p>\n
\u6539\u5584\u6027\u80fd\u7684\u65b9\u5f0f\uff1a\u7f13\u5b58<\/p>\n
\u7f13\u51b2\u533a\u7f13\u5b58\uff1a\u4e00\u5757\u72ec\u7acb\u663e\u5b58\uff0c\u5750\u843d\u5176\u4e2d\u7684\u5757\u662f\u9a6c\u4e0a\u987b\u8981\u4f7f\u7528\u7684\u9875\u9762\u7f13\u5b58\uff1a\u5c06\u6587\u4ef6\u6570\u636e\u4f5c\u4e3a\u9875\u800c\u4e0d\u662f\u5757\u6765\u7f13\u5b58\u3002\u9875\u9762\u7f13\u5b58\u4f7f\u7528\u865a\u62df\u663e\u5b58\u6280\u672f\uff0c\u5c06\u6587\u4ef6\u6570\u636e\u4f5c\u4e3a\u9875\u6765\u7f13\u5b58linux vi \u547d\u4ee4\uff0c\u6bd4\u91c7\u7528\u6570\u5b66c\u76d8\u5757\u6765\u7f13\u5b58\u66f4\u9ad8\u6548\u677f\u8f7d\u9ad8\u901f\u7f13\u5b58<\/p>\n
<\/p>\n
\u5047\u5982\u6ca1\u6709\u7edf\u4e00\u7f13\u5b58\uff0c\u5219\u4f1a\u7531\u53f3\u56fe\u60c5\u51b5\u53d1\u751f\uff1a<\/p>\n
<\/p>\n
\u7cfb\u7edf\u8c03\u7528read()\u548cwrite()\u4f1a\u901a\u8fc7\u7f13\u51b2\u533a\u7f13\u5b58\uff0c\u4f46\u662f\uff0c\u663e\u5b58\u6620\u5c04\u8c03\u7528\u987b\u8981\u4f7f\u7528\u4e24\u4e2a\u7f13\u5b58\uff0c\u5373\u9875\u9762\u7f13\u5b58\u548c\u7f13\u51b2\u533a\u7f13\u5b58\u3002\u663e\u5b58\u6620\u5c04\u5148\u4ece\u6587\u4ef6\u7cfb\u7edf\u4e2d\u8bfb\u5165c\u76d8\u5757,\u5e76\u88c5\u5165\u7f13\u51b2\u533a\u7f13\u5b58\uff0c\u56e0\u4e3a\u865a\u62df\u663e\u5b58\u7cfb\u7edf\u6ca1\u6709\u7f13\u51b2\u533a\u7f13\u5b58\u63d2\u53e3\uff0c\u7f13\u51b2\u7f13\u5b58\u5185\u7684\u6587\u4ef6\u5fc5\u987b\u590d\u5236\u5230\u9875\u9762\u7f13\u5b58\u4e2d\u3002<\/p>\n
\u91c7\u7528\u7edf\u4e00\u7f13\u51b2\u7f13\u5b58<\/p>\n
\u7edf\u4e00\u7f13\u51b2\u7f13\u5b58\uff1a\u7edf\u4e00\u4f7f\u7528\u7f13\u51b2\u5668\u7f13\u5b58\u6765\u7f13\u5b58\u8fdb\u7a0b\u9875\u548c\u6587\u4ef6\u6570\u636e\u3002<\/p>\n
<\/p>\n
\u65e0\u8bba\u662f\u7f13\u5b58\u5757\u8fd8\u662f\u9875\u9762\u90fd\u6709\u7f6e\u6362\u95ee\u9898\uff0c<\/p>\n
\u6587\u4ef6\u7684\u8bfb\u5165\u6216\u5199\u51fa\u901a\u5e38\u662f\u6309\u6b21\u5e8f\u8fdb\u884c\u3002\u6240\u4ee5\uff0c\u4e0d\u9002\u5b9c\u91c7\u7528LRU\u7b97\u6cd5\uff0c\u7531\u4e8e\u8fd1\u6765\u4f7f\u7528\u7684\u9875\u9762\u6700\u540e\u624d\u80fd\u7528\u751a\u81f3\u6839\u672c\u4e0d\u4f1a\u518d\u7528\u3002<\/p>\n
\u6b21\u5e8f\u8bbf\u95ee\u53ef\u4ee5\u901a\u8fc7\u9a6c\u4e0a\u91ca\u653e\u548c\u9884\u5148\u8bfb\u53d6\u6765\u52a0\u4ee5\u4f18\u5316<\/p>\n
\u9a6c\u4e0a\u91ca\u653e\uff08free-behind\uff09\uff1a\u6073\u6c42\u4e0b\u4e00\u9875\u65f6\uff0c\u9a6c\u4e0a\u91ca\u653e\u4e0a\u4e00\u9875\u9884\u5148\u8bfb\u53d6\uff08read-ahead\uff09\uff1a\u6073\u6c42\u9875\u7136\u540e\u7684\u4e0b\u4e00\u4e2a\u9875\u4e5f\u4e00\u8d77\u8bfb\u5165\u4e03\u3001\u6587\u4ef6\u7cfb\u7edf\u7684\u6062\u590d<\/p>\n
\u76ee\u5f55\u4fe1\u606f\u901a\u5e38\u4e8b\u5148\u4fdd\u5b58\u5728\u663e\u5b58\u4e2d\u4ee5\u63a8\u52a8\u8bbf\u95ee\uff0c\u6709\u65f6\u4f1a\u9020\u6210\u76ee\u5f55\u7ed3\u6784\u4e2d\u7684\u6570\u636e\u548cc\u76d8\u5757\u4e2d\u7684\u6570\u636e\u4e0d\u4e00\u81f4\u3002<\/p>\n
\u89e3\u51b3\uff1a<\/p>\n
\u4e00\u81f4\u6027\u68c0\u6d4b\uff1a\u6bd4\u8f83\u76ee\u5f55\u7ed3\u6784\u4e2d\u7684\u6570\u636e\u548cc\u76d8\u5757\u4e2d\u7684\u6570\u636e\uff0c\u5c1d\u8bd5\u7740\u53bb\u4fee\u6b63\u4e0d\u4e00\u81f4\u5907\u4efd&\u6062\u590d\uff1aI.\u5907\u4efd\uff08backup\uff09\uff1a\u501f\u52a9\u7cfb\u7edf\u7a0b\u5e8f\u6765\u5907\u4efd\u6570\u636e\u5230\u5176\u4ed6\u7684\u50a8\u5b58\u8bbe\u5907\u3002\u8f6f\u9a71\uff0c\u78c1\u5e26II.\u6062\u590d\uff08recovery\uff09\uff1a\u901a\u8fc7\u4ece\u5907\u4efd\u6765\u6062\u590d\u9057\u5931\u7684\u6587\u4ef6\u6216c\u76d8<\/p>\n
\u57fa\u4e8e\u65e5\u5fd7\u7ed3\u6784\u7684\u6587\u4ef6\u7cfb\u7edf<\/p>\n","protected":false},"excerpt":{"rendered":"
\u4e00\u3001\u6587\u4ef6\u7cfb\u7edf\u7ed3\u6784Linux\u5185\u6838\u6e90\u7801\u5206\u6790\u4e4bExt2\/3\u6587\u4ef6\u7cfb\u7edf\u5e94\u7528\u7a0b\u5e8f\u8c03\u7528\u903b\u8f91\u6587\u4ef6\u7cfb\u7edf\u3002\u903b\u8f91\u6587\u4ef6\u7cfb\u7edf\u6307\u5bfc\u76ee\u5f55\u7ed3\u6784\u7684\u683c\u5f0f\uff0c\u5b83\u4f1a\u5206\u914d\u4e00\u4e2a\u65b0\u7684FCB\u7cfb\u7edf\u5c06\u76f8\u5e94\u7684\u76ee\u5f55\u4fe1\u606f\u8bfb\u5165\u5185\u5b58\u66f4\u65b0\u76ee\u5f55\u7ed3\u6784\u548cFCB\u5c06\u7ed3\u679c\u5199\u56de\u78c1\u76d82.\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\u64cd\u4f5c\u7cfb\u7edf\u5982\u4f55\u624d\u80fd\u5c06\u591a\u4e2a\u7c7b\u578b\u7684\u6587\u4ef6\u7cfb\u7edf\u96c6\u6210\u5230\u76ee\u5f55\u7ed3\u6784\u4e2d\uff1f<\/p>\n","protected":false},"author":1,"featured_media":295116,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[5094,4287,5095,5092,5093],"class_list":["post-295115","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-dkwjb","tag-wjxtjg-2","tag-mljg","tag-cpljdy","tag-gxsjfw"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/295115","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=295115"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/295115\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/295116"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=295115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=295115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=295115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}