{"id":6969,"date":"2022-09-19T14:25:34","date_gmt":"2022-09-19T06:25:34","guid":{"rendered":"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969"},"modified":"2026-01-07T15:00:37","modified_gmt":"2026-01-07T07:00:37","slug":"%e6%96%87%e4%bb%b6%e7%b3%bb%e7%bb%9f%e7%9a%84%e6%a6%82%e5%bf%b5","status":"publish","type":"post","link":"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969","title":{"rendered":"\u6587\u4ef6\u7cfb\u7edf\u7684\u6982\u5ff5"},"content":{"rendered":"<p><a href=\"https:\/\/blog.csdn.net\/ganfanren00001\/article\/details\/126090694\">https:\/\/blog.csdn.net\/ganfanren00001\/article\/details\/126090694<\/a><br \/>\n<a href=\"https:\/\/baijiahao.baidu.com\/s?id=1675156968488871921&amp;wfr=spider&amp;for=pc\">https:\/\/baijiahao.baidu.com\/s?id=1675156968488871921&amp;wfr=spider&amp;for=pc<\/a> \uff08**\uff09<br \/>\n<a href=\"https:\/\/www.zhihu.com\/question\/26076795\/answer\/2251108325?utm_id=0\">https:\/\/www.zhihu.com\/question\/26076795\/answer\/2251108325?utm_id=0<\/a><br \/>\n1)\u6587\u4ef6\u7cfb\u7edf\u4e0e\u865a\u62df\u6587\u4ef6\u7cfb\u7edf<br \/>\n2)\u6587\u4ef6\u5b58\u50a8\u7684\u539f\u7406<br \/>\n3)\u6587\u4ef6I\/O<\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_16 counter-hierarchy counter-decimal ez-toc-grey\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\">\u76ee\u5f55<\/p>\n<span class=\"ez-toc-title-toggle\"><a class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" style=\"display: none;\"><i class=\"ez-toc-glyphicon ez-toc-icon-toggle\"><\/i><\/a><\/span><\/div>\n<nav><ul class=\"ez-toc-list ez-toc-list-level-1\"><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-1\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E4%B8%80%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E4%B8%8E%E7%A3%81%E7%9B%98%E7%9A%84%E5%85%B3%E7%B3%BB\" title=\"\u4e00\u3001\u6587\u4ef6\u7cfb\u7edf\u4e0e\u78c1\u76d8\u7684\u5173\u7cfb\">\u4e00\u3001\u6587\u4ef6\u7cfb\u7edf\u4e0e\u78c1\u76d8\u7684\u5173\u7cfb<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-2\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E4%BA%8C%E3%80%81%E9%87%8D%E8%A6%81%E6%A6%82%E5%BF%B5\" title=\"\u4e8c\u3001\u91cd\u8981\u6982\u5ff5\">\u4e8c\u3001\u91cd\u8981\u6982\u5ff5<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-3\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#1%E7%A3%81%E7%9B%98%E5%9D%97\" title=\"1.\u78c1\u76d8\u5757\">1.\u78c1\u76d8\u5757<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-4\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#2inode%E7%B4%A2%E5%BC%95%E8%8A%82%E7%82%B9\" title=\"2.inode(\u7d22\u5f15\u8282\u70b9)\">2.inode(\u7d22\u5f15\u8282\u70b9)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-5\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#1%E7%9B%AE%E5%BD%95%E6%96%87%E4%BB%B6\" title=\"1.\u76ee\u5f55\u6587\u4ef6\">1.\u76ee\u5f55\u6587\u4ef6<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-6\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#2%E7%A1%AC%E8%BF%9E%E6%8E%A5%E4%B8%8E%E8%BD%AF%E8%BF%9E%E6%8E%A5\" title=\"2.\u786c\u8fde\u63a5\u4e0e\u8f6f\u8fde\u63a5\">2.\u786c\u8fde\u63a5\u4e0e\u8f6f\u8fde\u63a5<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-7\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E4%B8%89%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E5%88%B6%E4%BD%9Cmkfs\" title=\"\u4e09\u3001\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c(mkfs)\">\u4e09\u3001\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c(mkfs)<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-8\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E4%B8%89%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E6%8C%82%E8%BD%BDmount\" title=\"\u4e09\u3001\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d(mount)\">\u4e09\u3001\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d(mount)<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-9\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E6%8C%82%E8%BD%BD%E7%9A%84%E6%A6%82%E5%BF%B5\" title=\"\u6302\u8f7d\u7684\u6982\u5ff5\">\u6302\u8f7d\u7684\u6982\u5ff5<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-10\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#mount%E5%91%BD%E4%BB%A4%E8%AF%A6%E8%A7%A3\" title=\"mount\u547d\u4ee4\u8be6\u89e3\">mount\u547d\u4ee4\u8be6\u89e3<\/a><ul class=\"ez-toc-list-level-4\"><li class=\"ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-11\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#mount%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E\" title=\"mount\u53c2\u6570\u8bf4\u660e\">mount\u53c2\u6570\u8bf4\u660e<\/a><ul class=\"ez-toc-list-level-5\"><li class=\"ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-12\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#-t%E5%8F%82%E6%95%B0\" title=\"-t\u53c2\u6570\">-t\u53c2\u6570<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-5\"><a class=\"ez-toc-link ez-toc-heading-13\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#-o%E5%8F%82%E6%95%B0\" title=\"-o\u53c2\u6570\">-o\u53c2\u6570<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-14\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E5%AE%9E%E4%BE%8B\" title=\"\u5b9e\u4f8b\">\u5b9e\u4f8b<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-15\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E7%BB%91%E5%AE%9A%E6%8C%82%E8%BD%BD\" title=\"\u7ed1\u5b9a\u6302\u8f7d\">\u7ed1\u5b9a\u6302\u8f7d<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-16\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#mount%E5%91%BD%E4%BB%A4%E7%9A%84%E5%8E%9F%E7%90%86\" title=\"mount\u547d\u4ee4\u7684\u539f\u7406\">mount\u547d\u4ee4\u7684\u539f\u7406<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-17\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98\" title=\"\u5e38\u89c1\u95ee\u9898\">\u5e38\u89c1\u95ee\u9898<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-18\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E5%9B%9B%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E5%8D%B8%E8%BD%BDumount\" title=\"\u56db\u3001\u6587\u4ef6\u7cfb\u7edf\u5378\u8f7d(umount)\">\u56db\u3001\u6587\u4ef6\u7cfb\u7edf\u5378\u8f7d(umount)<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-19\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#umount2\" title=\"umount2\">umount2<\/a><ul class=\"ez-toc-list-level-4\"><li class=\"ez-toc-heading-level-4\"><a class=\"ez-toc-link ez-toc-heading-20\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#flags%E5%88%86%E7%B1%BB\" title=\"flags\u5206\u7c7b\">flags\u5206\u7c7b<\/a><\/li><\/ul><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-21\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E4%BA%94%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E7%B1%BB%E5%9E%8B\" title=\"\u4e94\u3001\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\">\u4e94\u3001\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<\/a><ul class=\"ez-toc-list-level-3\"><li class=\"ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-22\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#ext\" title=\"ext\">ext<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-23\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#SquashFS\" title=\"SquashFS\">SquashFS<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-24\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#tmpfs%E4%B8%8Edevtmpfs\" title=\"tmpfs\u4e0edevtmpfs\">tmpfs\u4e0edevtmpfs<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-25\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#swap\" title=\"swap\">swap<\/a><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-3\"><a class=\"ez-toc-link ez-toc-heading-26\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#fat32\" title=\"fat32\">fat32<\/a><\/li><\/ul><\/li><li class=\"ez-toc-page-1 ez-toc-heading-level-2\"><a class=\"ez-toc-link ez-toc-heading-27\" href=\"http:\/\/xinyiworld.top\/wordpress_it\/?p=6969\/#%E4%BA%94%E3%80%81%E7%A8%80%E7%96%8F%E6%96%87%E4%BB%B6\" title=\"\u4e94\u3001\u7a00\u758f\u6587\u4ef6\">\u4e94\u3001\u7a00\u758f\u6587\u4ef6<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%80%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E4%B8%8E%E7%A3%81%E7%9B%98%E7%9A%84%E5%85%B3%E7%B3%BB\"><\/span>\u4e00\u3001\u6587\u4ef6\u7cfb\u7edf\u4e0e\u78c1\u76d8\u7684\u5173\u7cfb<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/zhuanlan.zhihu.com\/p\/556224472?utm_id=0\">https:\/\/zhuanlan.zhihu.com\/p\/556224472?utm_id=0<\/a><br \/>\n\u4ec0\u4e48\u662f\u6587\u4ef6\u7cfb\u7edf\uff1a<strong>\u4ecb\u4e8e\u78c1\u76d8\u4e0a\u5c42\u7684\u4e00\u4e2a\u8bfb\u5199\u6570\u636e\u7cfb\u7edf\uff0c\u8ba9\u5e94\u7528\u5c42\u4e0d\u9700\u8981\u77e5\u9053\u78c1\u76d8\u590d\u6742\u7ed3\u6784\uff0c\u5c31\u53ef\u4ee5\u5feb\u901f\u5bfb\u5740\u5e76\u89e3\u6790\u539f\u59cb\u6570\u636e\uff0c\u8fd4\u56de\u6587\u4ef6\u5bf9\u5e94\u683c\u5f0f\u6570\u636e\u3002<\/strong><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%8C%E3%80%81%E9%87%8D%E8%A6%81%E6%A6%82%E5%BF%B5\"><\/span>\u4e8c\u3001\u91cd\u8981\u6982\u5ff5<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>\u78c1\u76d8\u5757\u4e0einode\u7684\u7406\u89e3<\/strong>\uff1a<br \/>\n<a href=\"[https:\/\/www.cnblogs.com\/whych\/p\/9315723.html](https:\/\/www.cnblogs.com\/whych\/p\/9315723.html)\">[https:\/\/www.cnblogs.com\/whych\/p\/9315723.html](https:\/\/www.cnblogs.com\/whych\/p\/9315723.html)<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/weixin_46199479\/article\/details\/123602750\">https:\/\/blog.csdn.net\/weixin_46199479\/article\/details\/123602750<\/a><\/p>\n<p><strong>\u5757\u3001\u9875\u90fd\u662f\u8f6f\u4ef6\u5c42\u9762\u7684\u865a\u62df\u5355\u4f4d<\/strong><br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2022\/09\/block_inode.png\" alt=\"\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"1%E7%A3%81%E7%9B%98%E5%9D%97\"><\/span>1.\u78c1\u76d8\u5757<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/blog.csdn.net\/m0_37535642\/article\/details\/72356737\">https:\/\/blog.csdn.net\/m0_37535642\/article\/details\/72356737<\/a><br \/>\n\u78c1\u76d8\u5757\u662f\u64cd\u4f5c\u7cfb\u7edf\u7684\u6982\u5ff5\uff0c\u4e0d\u662f\u7269\u7406\u6982\u5ff5\u3002<\/p>\n<p>\u67e5\u770b\u5757\u7684\u5927\u5c0f\uff1a<code>tune2fs -l \/dev\/sda2|grep Block<\/code><br \/>\n\u67e5\u770b\u5757\u4e0einode\u7684\u7684\u5927\u5c0f\uff1a<code>dumpe2fs -h \/dev\/sda5<\/code><\/p>\n<ul>\n<li>\u7a7a\u76ee\u5f55\u4e0e\u7a7a\u6587\u4ef6<br \/>\n<a href=\"https:\/\/cloud.tencent.com\/developer\/ask\/sof\/111441208\">https:\/\/cloud.tencent.com\/developer\/ask\/sof\/111441208<\/a><br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2022\/09\/block.png\" alt=\"\" \/><\/li>\n<\/ul>\n<p>1\uff09\u4e3a\u4ec0\u4e48linux\u76ee\u5f55(\u5305\u62ec\u7a7a\u76ee\u5f55)\u7684\u5927\u5c0f\u4e00\u822c\u90fd\u662f4096\u4e2a\u5b57\u8282\uff1f<a href=\"https:\/\/www.cnblogs.com\/yunzhongjunlang\/p\/14461866.html\">https:\/\/www.cnblogs.com\/yunzhongjunlang\/p\/14461866.html<\/a><br \/>\n2\uff09\u4e3a\u4ec0\u4e48linux\u7a7a\u6587\u4ef6\u5927\u5c0f\u662f0?\u4e3a\u4ec0\u4e48linux\u7a7a\u6587\u4ef6\u968f\u4fbf\u5199\u5165\u4e00\u4e2a\u5b57\u8282\u5757\u5c31\u53d88\u4e86\uff1f<br \/>\n<a href=\"https:\/\/blog.csdn.net\/Rong_Toa\/article\/details\/111241945\">https:\/\/blog.csdn.net\/Rong_Toa\/article\/details\/111241945<\/a><br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2022\/09\/file_size.png\" alt=\"\" \/><\/p>\n<h3><span class=\"ez-toc-section\" id=\"2inode%E7%B4%A2%E5%BC%95%E8%8A%82%E7%82%B9\"><\/span>2.inode(\u7d22\u5f15\u8282\u70b9)<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/www.sohu.com\/a\/119746385_355123\">https:\/\/www.sohu.com\/a\/119746385_355123<\/a><br \/>\n<a href=\"https:\/\/www.cnblogs.com\/ToTigerMountain\/articles\/17568487.html\">https:\/\/www.cnblogs.com\/ToTigerMountain\/articles\/17568487.html<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/qq_55712347\/article\/details\/128717642\">https:\/\/blog.csdn.net\/qq_55712347\/article\/details\/128717642<\/a> \uff08\u78c1\u76d8|inode|\u52a8\u9759\u6001\u5e93\uff09<\/p>\n<ul>\n<li>\n<p>\u67e5\u770b\u6bcf\u4e2a\u786c\u76d8\u5206\u533a\u7684inode\u603b\u6570\u548c\u5df2\u7ecf\u4f7f\u7528\u7684\u6570\u91cf<br \/>\n<code>df -i<\/code><\/p>\n<\/li>\n<li>\n<p>\u6587\u4ef6\u540d\u5bf9\u5e94\u7684inode\u53f7\u7801<br \/>\n<code>ls -i example.txt<\/code><\/p>\n<\/li>\n<\/ul>\n<p><strong>\u6bcf\u4e2ainode\u90fd\u6709\u4e00\u4e2a\u53f7\u7801<\/strong>\uff0c\u64cd\u4f5c\u7cfb\u7edf\u7528inode\u53f7\u7801\u6765\u8bc6\u522b\u4e0d\u540c\u7684\u6587\u4ef6\u3002<\/p>\n<p>\u8fd9\u91cc\u503c\u5f97\u91cd\u590d\u4e00\u904d\uff0cUnix\/Linux\u7cfb\u7edf\u5185\u90e8\u4e0d\u4f7f\u7528\u6587\u4ef6\u540d\uff0c\u800c\u4f7f\u7528inode\u53f7\u7801\u6765\u8bc6\u522b\u6587\u4ef6\u3002\u5bf9\u4e8e\u7cfb\u7edf\u6765\u8bf4\uff0c<strong>\u6587\u4ef6\u540d\u53ea\u662finode\u53f7\u7801\u4fbf\u4e8e\u8bc6\u522b\u7684\u522b\u79f0\u6216\u8005\u7ef0\u53f7<\/strong>\u3002<\/p>\n<p>\u8868\u9762\u4e0a\uff0c\u7528\u6237\u901a\u8fc7\u6587\u4ef6\u540d\uff0c\u6253\u5f00\u6587\u4ef6\u3002\u5b9e\u9645\u4e0a\uff0c\u7cfb\u7edf\u5185\u90e8\u8fd9\u4e2a\u8fc7\u7a0b\u5206\u6210\u4e09\u6b65\uff1a\u9996\u5148\uff0c\u7cfb\u7edf\u627e\u5230\u8fd9\u4e2a\u6587\u4ef6\u540d\u5bf9\u5e94\u7684inode\u53f7\u7801\uff1b\u5176\u6b21\uff0c\u901a\u8fc7inode\u53f7\u7801\uff0c\u83b7\u53d6inode\u4fe1\u606f\uff1b\u6700\u540e\uff0c\u6839\u636einode\u4fe1\u606f\uff0c\u627e\u5230\u6587\u4ef6\u6570\u636e\u6240\u5728\u7684block\uff0c\u8bfb\u51fa\u6570\u636e\u3002<\/p>\n<p>\u4f7f\u7528ls -i\u547d\u4ee4\uff0c\u53ef\u4ee5\u770b\u5230\u6587\u4ef6\u540d\u5bf9\u5e94\u7684inode\u53f7\u7801\uff1a<\/p>\n<h3><span class=\"ez-toc-section\" id=\"1%E7%9B%AE%E5%BD%95%E6%96%87%E4%BB%B6\"><\/span>1.\u76ee\u5f55\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u76ee\u5f55\u6587\u4ef6\u7684\u7ed3\u6784\u975e\u5e38\u7b80\u5355\uff0c\u5c31\u662f\u4e00\u7cfb\u5217\u76ee\u5f55\u9879\uff08dirent\uff09\u7684\u5217\u8868\u3002\u6bcf\u4e2a\u76ee\u5f55\u9879\uff0c\u7531\u4e24\u90e8\u5206\u7ec4\u6210\uff1a\u6240\u5305\u542b\u6587\u4ef6\u7684\u6587\u4ef6\u540d\uff0c\u4ee5\u53ca\u8be5\u6587\u4ef6\u540d\u5bf9\u5e94\u7684inode\u53f7\u7801\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"2%E7%A1%AC%E8%BF%9E%E6%8E%A5%E4%B8%8E%E8%BD%AF%E8%BF%9E%E6%8E%A5\"><\/span>2.\u786c\u8fde\u63a5\u4e0e\u8f6f\u8fde\u63a5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/blog.csdn.net\/modi000\/article\/details\/119010226\">https:\/\/blog.csdn.net\/modi000\/article\/details\/119010226<\/a><\/p>\n<p><strong>\u8f6f\u786c\u8fde\u63a5\u7684\u533a\u522b<\/strong>\uff1a\u786c\u94fe\u63a5\u5b9e\u9645\u662f\u4e00\u6761\u6587\u4ef6\u540d\u4e0ei\u7ed3\u70b9\u7684\u8bb0\u5f55\uff0c\u8f6f\u94fe\u63a5\u662f\u5efa\u7acb\u4e86\u53e6\u4e00\u4e2a\u65b0\u7684\u72ec\u7acb\u7684\u6587\u4ef6\uff0c\u5b83\u6307\u5411\u6e90\u6587\u4ef6\u3002<\/p>\n<ul>\n<li>\u786c\u8fde\u63a5<\/li>\n<\/ul>\n<p>\u4e00\u822c\u60c5\u51b5\u4e0b\uff0c<strong>\u6587\u4ef6\u540d\u548cinode\u53f7\u7801\u662f\u201d\u4e00\u4e00\u5bf9\u5e94\u201d\u5173\u7cfb<\/strong>\uff0c\u6bcf\u4e2ainode\u53f7\u7801\u5bf9\u5e94\u4e00\u4e2a\u6587\u4ef6\u540d\u3002\u4f46\u662f\uff0cUnix\/Linux\u7cfb\u7edf\u5141\u8bb8\uff0c<strong>\u591a\u4e2a\u6587\u4ef6\u540d\u6307\u5411\u540c\u4e00\u4e2ainode\u53f7\u7801<\/strong>\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\uff0c<strong>\u53ef\u4ee5\u7528\u4e0d\u540c\u7684\u6587\u4ef6\u540d\u8bbf\u95ee\u540c\u6837\u7684\u5185\u5bb9<\/strong>\uff1b<strong>\u5bf9\u6587\u4ef6\u5185\u5bb9\u8fdb\u884c\u4fee\u6539\uff0c\u4f1a\u5f71\u54cd\u5230\u6240\u6709\u6587\u4ef6\u540d<\/strong>\uff1b\u4f46\u662f\uff0c<strong>\u5220\u9664\u4e00\u4e2a\u6587\u4ef6\u540d\uff0c\u4e0d\u5f71\u54cd\u53e6\u4e00\u4e2a\u6587\u4ef6\u540d\u7684\u8bbf\u95ee<\/strong>\u3002\u8fd9\u79cd\u60c5\u51b5\u5c31\u88ab\u79f0\u4e3a\u201d\u786c\u94fe\u63a5\u201d\u3002<\/p>\n<p>\u521b\u5efa\u786c\u8fde\u63a5\u547d\u4ee4\uff1a<code>ln \u6e90\u6587\u4ef6 \u76ee\u6807\u6587\u4ef6<\/code><\/p>\n<p>\u8fd0\u884c\u4e0a\u9762\u8fd9\u6761\u547d\u4ee4\u4ee5\u540e\uff0c\u6e90\u6587\u4ef6\u4e0e\u76ee\u6807\u6587\u4ef6\u7684inode\u53f7\u7801\u76f8\u540c\uff0c\u90fd\u6307\u5411\u540c\u4e00\u4e2ainode\u3002inode\u4fe1\u606f\u4e2d\u6709\u4e00\u9879\u53eb\u505a\u201d\u94fe\u63a5\u6570\u201d\uff0c\u8bb0\u5f55\u6307\u5411\u8be5inode\u7684\u6587\u4ef6\u540d\u603b\u6570\uff0c\u8fd9\u65f6\u5c31\u4f1a\u589e\u52a01\u3002<\/p>\n<p>\u53cd\u8fc7\u6765\uff0c\u5220\u9664\u4e00\u4e2a\u6587\u4ef6\u540d\uff0c\u5c31\u4f1a\u4f7f\u5f97inode\u8282\u70b9\u4e2d\u7684\u201d\u94fe\u63a5\u6570\u201d\u51cf1\u3002\u5f53\u8fd9\u4e2a\u503c\u51cf\u52300\uff0c\u8868\u660e\u6ca1\u6709\u6587\u4ef6\u540d\u6307\u5411\u8fd9\u4e2ainode\uff0c\u7cfb\u7edf\u5c31\u4f1a\u56de\u6536\u8fd9\u4e2ainode\u53f7\u7801\uff0c\u4ee5\u53ca\u5176\u6240\u5bf9\u5e94block\u533a\u57df\u3002<\/p>\n<p>\u8fd9\u91cc\u987a\u4fbf\u8bf4\u4e00\u4e0b\u76ee\u5f55\u6587\u4ef6\u7684\u201d\u94fe\u63a5\u6570\u201d\u3002\u521b\u5efa\u76ee\u5f55\u65f6\uff0c\u9ed8\u8ba4\u4f1a\u751f\u6210\u4e24\u4e2a\u76ee\u5f55\u9879\uff1a\u201d.\u201d\u548c\u201d..\u201d\u3002\u524d\u8005\u7684inode\u53f7\u7801\u5c31\u662f\u5f53\u524d\u76ee\u5f55\u7684inode\u53f7\u7801\uff0c\u7b49\u540c\u4e8e\u5f53\u524d\u76ee\u5f55\u7684\u201d\u786c\u94fe\u63a5\u201d\uff1b\u540e\u8005\u7684inode\u53f7\u7801\u5c31\u662f\u5f53\u524d\u76ee\u5f55\u7684\u7236\u76ee\u5f55\u7684inode\u53f7\u7801\uff0c\u7b49\u540c\u4e8e\u7236\u76ee\u5f55\u7684\u201d\u786c\u94fe\u63a5\u201d\u3002\u6240\u4ee5\uff0c\u4efb\u4f55\u4e00\u4e2a\u76ee\u5f55\u7684\u201d\u786c\u94fe\u63a5\u201d\u603b\u6570\uff0c\u603b\u662f\u7b49\u4e8e2\u52a0\u4e0a\u5b83\u7684\u5b50\u76ee\u5f55\u603b\u6570\uff08\u542b\u9690\u85cf\u76ee\u5f55\uff09\u3002<\/p>\n<ul>\n<li>\u8f6f\u8fde\u63a5<\/li>\n<\/ul>\n<p>1\uff09\u6982\u5ff5<br \/>\n\u6587\u4ef6A\u548c\u6587\u4ef6B\u7684inode\u53f7\u7801\u867d\u7136\u4e0d\u4e00\u6837\uff0c\u4f46\u662f\u6587\u4ef6A\u7684\u5185\u5bb9\u662f\u6587\u4ef6B\u7684\u8def\u5f84\u3002\u8bfb\u53d6\u6587\u4ef6A\u65f6\uff0c\u7cfb\u7edf\u4f1a\u81ea\u52a8\u5c06\u8bbf\u95ee\u8005\u5bfc\u5411\u6587\u4ef6B\u3002\u56e0\u6b64\uff0c\u65e0\u8bba\u6253\u5f00\u54ea\u4e00\u4e2a\u6587\u4ef6\uff0c\u6700\u7ec8\u8bfb\u53d6\u7684\u90fd\u662f\u6587\u4ef6B\u3002\u8fd9\u65f6\uff0c\u6587\u4ef6A\u5c31\u79f0\u4e3a\u6587\u4ef6B\u7684\u201d\u8f6f\u94fe\u63a5\u201d\uff08soft link\uff09\u6216\u8005\u201d\u7b26\u53f7\u94fe\u63a5\uff08symbolic link\uff09\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\uff0c\u6587\u4ef6A\u4f9d\u8d56\u4e8e\u6587\u4ef6B\u800c\u5b58\u5728\uff0c\u5982\u679c\u5220\u9664\u4e86\u6587\u4ef6B\uff0c\u6253\u5f00\u6587\u4ef6A\u5c31\u4f1a\u62a5\u9519\uff1a\u201dNo such file or directory\u201d\u3002\u8fd9\u662f\u8f6f\u94fe\u63a5\u4e0e\u786c\u94fe\u63a5\u6700\u5927\u7684\u4e0d\u540c\uff1a\u6587\u4ef6A\u6307\u5411\u6587\u4ef6B\u7684<strong>\u6587\u4ef6\u540d<\/strong>\uff0c\u800c\u4e0d\u662f\u6587\u4ef6B\u7684inode\u53f7\u7801\uff0c\u6587\u4ef6B\u7684inode\u201d\u94fe\u63a5\u6570\u201d\u4e0d\u4f1a\u56e0\u6b64\u53d1\u751f\u53d8\u5316\u3002<\/p>\n<ul>\n<li>\n<p>\u521b\u5efa\u8f6f\u94fe\u63a5<br \/>\nln -s\u547d\u4ee4\u53ef\u4ee5\u521b\u5efa\u8f6f\u94fe\u63a5<br \/>\n<code>ln -s \u6e90\u6587\u6587\u4ef6\u6216\u76ee\u5f55 \u76ee\u6807\u6587\u4ef6\u6216\u76ee\u5f55<\/code><\/p>\n<\/li>\n<li>\n<p>\u6307\u5411\u8f6f\u94fe\u63a5\u5230\u65b0\u8def\u5f84\u4f46\u662f\u4e0d\u91cd\u65b0\u521b\u5efa\u8f6f\u94fe\u63a5<br \/>\n<code>ln -sf \/new\/target\/path existing-link<\/code><br \/>\n<a href=\"https:\/\/blog.csdn.net\/a772304419\/article\/details\/132366763\">https:\/\/blog.csdn.net\/a772304419\/article\/details\/132366763<\/a><\/p>\n<\/li>\n<\/ul>\n<p>2\uff09\u5173\u4e8e\u8f6f\u8fde\u63a5\u7684\u5927\u5c0f<br \/>\n<a href=\"https:\/\/blog.csdn.net\/modi000\/article\/details\/119010226\">https:\/\/blog.csdn.net\/modi000\/article\/details\/119010226<\/a> (\uff01\uff01\uff01\uff01\uff01\uff01)\u8fd9\u7bc7\u6587\u7ae0\u4ecb\u7ecd\u7684\u5f88\u6e05\u695a\uff0c\u8f6f\u8fde\u63a5\u7684\u5927\u5c0f\u5176\u5b9e\u662f\u6307\u5411\u7684\u6e90\u6587\u4ef6\u7684\u8def\u5f84\u7684\u5927\u5c0f\uff0c\u4f46\u662f\u8f6f\u8fde\u63a5\u5360\u7528\u7684\u5757\u5927\u5c0f\u662f0.<br \/>\n<img src=\"http:\/\/xinyiworld.top\/wordpress_it\/wp-content\/uploads\/2022\/09\/soft2.png\" alt=\"\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E5%88%B6%E4%BD%9Cmkfs\"><\/span>\u4e09\u3001\u6587\u4ef6\u7cfb\u7edf\u5236\u4f5c(mkfs)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/www.cnblogs.com\/joshua317\/p\/15412269.html\">https:\/\/www.cnblogs.com\/joshua317\/p\/15412269.html<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%B8%89%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E6%8C%82%E8%BD%BDmount\"><\/span>\u4e09\u3001\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d(mount)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/www.linuxidc.com\/Linux\/2017-11\/148277p3.htm\">https:\/\/www.linuxidc.com\/Linux\/2017-11\/148277p3.htm<\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E6%8C%82%E8%BD%BD%E7%9A%84%E6%A6%82%E5%BF%B5\"><\/span>\u6302\u8f7d\u7684\u6982\u5ff5<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/www.zhihu.com\/question\/266907637\">https:\/\/www.zhihu.com\/question\/266907637<\/a><br \/>\n<a href=\"https:\/\/www.zhihu.com\/question\/512414198\/answer\/2318166297\">https:\/\/www.zhihu.com\/question\/512414198\/answer\/2318166297<\/a><br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/67686817\">https:\/\/zhuanlan.zhihu.com\/p\/67686817<\/a><br \/>\n<a href=\"https:\/\/baijiahao.baidu.com\/s?id=1728958831699145125&amp;wfr=spider&amp;for=pc\">https:\/\/baijiahao.baidu.com\/s?id=1728958831699145125&amp;wfr=spider&amp;for=pc<\/a><br \/>\n<a href=\"https:\/\/www.python100.com\/html\/48AF6462GMPS.html\">https:\/\/www.python100.com\/html\/48AF6462GMPS.html<\/a><\/p>\n<blockquote>\n<p>\u91cd\u70b9\uff1a<\/p>\n<\/blockquote>\n<p>\u6302\u8f7d\u662f\u201c<strong>\u865a\u62df\u6587\u4ef6\u7cfb\u7edf<\/strong>\u201d\u72ec\u6709\u7684\u6982\u5ff5\uff0c\u5c06\u5916\u90e8\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u5230\u73b0\u6709\u6587\u4ef6\u7cfb\u7edf\u6811\u4e2d\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"mount%E5%91%BD%E4%BB%A4%E8%AF%A6%E8%A7%A3\"><\/span>mount\u547d\u4ee4\u8be6\u89e3<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/www.cnblogs.com\/sparkdev\/p\/9015312.html\">https:\/\/www.cnblogs.com\/sparkdev\/p\/9015312.html<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/wisdom_futrue\/article\/details\/129236013\">https:\/\/blog.csdn.net\/wisdom_futrue\/article\/details\/129236013<\/a><br \/>\n<a href=\"https:\/\/www.sohu.com\/a\/242952813_495675\">https:\/\/www.sohu.com\/a\/242952813_495675<\/a><\/p>\n<p>\u5f00\u673a\u81ea\u52a8\u6302\u8f7d\uff08\u914d\u7f6e<code>\/etc\/fstab<\/code>\u6587\u4ef6\uff09\uff1a<a href=\"https:\/\/blog.csdn.net\/2301_77606661\/article\/details\/134381147\">https:\/\/blog.csdn.net\/2301_77606661\/article\/details\/134381147<\/a><br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/250658106\">https:\/\/zhuanlan.zhihu.com\/p\/250658106<\/a><br \/>\n<a href=\"https:\/\/www.cnblogs.com\/niushuaiblog\/p\/4338095.html\">https:\/\/www.cnblogs.com\/niushuaiblog\/p\/4338095.html<\/a><br \/>\n<code>blkid<\/code>\u67e5\u770b\u5206\u533a\u7684uuid<\/p>\n<h4><span class=\"ez-toc-section\" id=\"mount%E5%8F%82%E6%95%B0%E8%AF%B4%E6%98%8E\"><\/span>mount\u53c2\u6570\u8bf4\u660e<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u547d\u4ee4\u683c\u5f0f\uff1a<code>mount -t &lt;type&gt; &lt;device&gt; &lt;mount point&gt;<\/code><br \/>\n<a href=\"https:\/\/www.jianshu.com\/p\/49046698a344\">https:\/\/www.jianshu.com\/p\/49046698a344<\/a><\/p>\n<h5><span class=\"ez-toc-section\" id=\"-t%E5%8F%82%E6%95%B0\"><\/span>-t\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<p>\u6307\u5b9a\u6302\u8f7d\u7c7b\u578b<\/p>\n<h5><span class=\"ez-toc-section\" id=\"-o%E5%8F%82%E6%95%B0\"><\/span>-o\u53c2\u6570<span class=\"ez-toc-section-end\"><\/span><\/h5>\n<ul>\n<li>-o uid=user1,gid=group1<br \/>\n\u6539\u53d8\u6302\u8f7d\u76ee\u5f55\u4e0b\u6587\u4ef6\u7684\u6240\u5c5e\u7528\u6237\u548c\u7ec4<\/li>\n<\/ul>\n<h4><span class=\"ez-toc-section\" id=\"%E5%AE%9E%E4%BE%8B\"><\/span>\u5b9e\u4f8b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<ul>\n<li>\u6302\u8f7d\u5404\u79cd\u8bbe\u5907<br \/>\n<a href=\"https:\/\/blog.csdn.net\/u012964600\/article\/details\/136169815\">https:\/\/blog.csdn.net\/u012964600\/article\/details\/136169815<\/a><\/li>\n<\/ul>\n<p>1\uff09\u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff1a\u50cfdebugfs, procfs, sysfs\u8fd9\u4e9b\u5185\u5b58\u6587\u4ef6\u7cfb\u7edf\uff0c\u6ca1\u6709\u5bf9\u5e94\u7684\u78c1\u76d8\u8bbe\u5907\uff0c\u56e0\u6b64\u6302\u8f7d\u7684\u65f6\u5019&quot;<device>&quot;\u8fd9\u4e00\u9879\u53ef\u4ee5\u586b&quot;none&quot;\u6216\u8005&quot;nodev&quot;\uff0c\u5bf9\u5e94\u7684\u51fd\u6570\u5b9e\u73b0\u662fmount_nodev()\u3002<\/p>\n<ul>\n<li>\u67e5\u770b\u6302\u8f7d\u6587\u4ef6\u7cfb\u7edf\u72b6\u6001<\/li>\n<\/ul>\n<p>1\uff09\u901a\u8fc7<code>\/proc\/mounts<\/code>\u6587\u4ef6<br \/>\n<a href=\"https:\/\/www.cnblogs.com\/zhouhbing\/p\/4285353.html\">https:\/\/www.cnblogs.com\/zhouhbing\/p\/4285353.html<\/a><br \/>\n<a href=\"https:\/\/bbs.huaweicloud.com\/blogs\/419451\">https:\/\/bbs.huaweicloud.com\/blogs\/419451<\/a><br \/>\n2\uff09\u901a\u8fc7mount\u6307\u4ee4<\/p>\n<ul>\n<li>\n<p>\u67e5\u770b\u5f53\u524d\u7cfb\u7edf\u652f\u6301\u54ea\u4e9b\u6587\u4ef6\u7cfb\u7edf<br \/>\n<code>cat \/proc\/filesystems<\/code><\/p>\n<\/li>\n<li>\n<p>\u67e5\u770b\u5b58\u5728\u54ea\u4e9b\u6587\u4ef6\u7cfb\u7edf\uff08findmnt\uff09<br \/>\n<a href=\"https:\/\/blog.csdn.net\/fuluoyide312\/article\/details\/106850562\/\">https:\/\/blog.csdn.net\/fuluoyide312\/article\/details\/106850562\/<\/a><br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/410445739\">https:\/\/zhuanlan.zhihu.com\/p\/410445739<\/a><\/p>\n<\/li>\n<li>\n<p>\u67e5\u770b\u4e00\u4e2a\u76ee\u5f55\u6216\u8005\u6587\u4ef6\u662f\u4e0d\u662f\u6302\u8f7d\u70b9 \uff08mountpoint\uff09<\/p>\n<\/li>\n<\/ul>\n<pre><code class=\"language-bash\">-d\u2003\u6253\u5370\u6302\u8f7d\u4e8e\u6307\u5b9a\u76ee\u5f55\u4e0a\u7684\u8bbe\u5907\u7684\u4e3b\u6b21\u8bbe\u5907\u4ee3\u7801\n-q\u2003\u5b89\u9759\u6a21\u5f0f\n-x\u2003\u6253\u5370\u6307\u5b9a\u5757\u8bbe\u5907\u7684\u4e3b\u6b21\u8bbe\u5907\u4ee3\u7801<\/code><\/pre>\n<h3><span class=\"ez-toc-section\" id=\"%E7%BB%91%E5%AE%9A%E6%8C%82%E8%BD%BD\"><\/span>\u7ed1\u5b9a\u6302\u8f7d<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u7ed1\u5b9a\u6302\u8f7d\u5176\u5b9e\u662f\u4e00\u4e2ainode\u66ff\u6362\u7684\u8fc7\u7a0b\uff0c\u6709\u70b9\u201c\u786c\u8fde\u63a5\u201d\u7684\u5473\u9053 \u3002<\/p>\n<p><a href=\"https:\/\/www.cnblogs.com\/R-bear\/p\/15027390.html\">https:\/\/www.cnblogs.com\/R-bear\/p\/15027390.html<\/a><br \/>\n<a href=\"https:\/\/www.jianshu.com\/p\/7d9d6d565031\">https:\/\/www.jianshu.com\/p\/7d9d6d565031<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/allway2\/article\/details\/122136813\">https:\/\/blog.csdn.net\/allway2\/article\/details\/122136813<\/a><\/p>\n<ul>\n<li>\n<p>shared subtree(\u5171\u4eab\u5b50\u6811)<br \/>\n<a href=\"https:\/\/blog.csdn.net\/weixin_37867857\/article\/details\/90512191\">https:\/\/blog.csdn.net\/weixin_37867857\/article\/details\/90512191<\/a><br \/>\n<a href=\"https:\/\/cloud.tencent.com\/developer\/article\/1532014\">https:\/\/cloud.tencent.com\/developer\/article\/1532014<\/a><\/p>\n<\/li>\n<li>\n<p>\u7ed1\u5b9a\u6302\u8f7d\u4e0emnt\u547d\u540d\u7a7a\u95f4<\/p>\n<\/li>\n<\/ul>\n<h3><span class=\"ez-toc-section\" id=\"mount%E5%91%BD%E4%BB%A4%E7%9A%84%E5%8E%9F%E7%90%86\"><\/span>mount\u547d\u4ee4\u7684\u539f\u7406<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/juejin.cn\/post\/6844903938576105485\">https:\/\/juejin.cn\/post\/6844903938576105485<\/a><br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/144893220\">https:\/\/zhuanlan.zhihu.com\/p\/144893220<\/a><br \/>\n<a href=\"https:\/\/zhuanlan.zhihu.com\/p\/378013367\">https:\/\/zhuanlan.zhihu.com\/p\/378013367<\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98\"><\/span>\u5e38\u89c1\u95ee\u9898<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<ul>\n<li>\u89e3\u51b3Read-only file system\u95ee\u9898<br \/>\n<code>mount -o remount,rw \/system<\/code>\uff0c\u5c06\u6709\u95ee\u9898\u7684\u76ee\u5f55\u91cd\u65b0\u4ee5\u53ef\u8bfb\u5199\u7684\u65b9\u5f0f\u6302\u8f7d\u3002<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"%E5%9B%9B%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E5%8D%B8%E8%BD%BDumount\"><\/span>\u56db\u3001\u6587\u4ef6\u7cfb\u7edf\u5378\u8f7d(umount)<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/www.cnblogs.com\/wangbin2188\/p\/14647654.html\">https:\/\/www.cnblogs.com\/wangbin2188\/p\/14647654.html<\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"umount2\"><\/span>umount2<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>umount2()\u53ef\u5bf9\u5378\u8f7d\u64cd\u4f5c\u65bd\u4ee5\u66f4\u7cbe\u5bc6\u7684\u63a7\u5236<\/p>\n<h4><span class=\"ez-toc-section\" id=\"flags%E5%88%86%E7%B1%BB\"><\/span>flags\u5206\u7c7b<span class=\"ez-toc-section-end\"><\/span><\/h4>\n<p>\u8fd9\u4e00\u6807\u5fd7\u4f4d\u63a9\u7801\u53c2\u6570\u7531\u4e0b\u5217 0 \u4e2a\u6216\u591a\u4e2a\u503c\u76f8\u6216\uff08 OR\uff09\u800c\u6210\u3002<\/p>\n<ul>\n<li>\n<p>MNT_DETACH<br \/>\n\uff08\u59cb\u4e8e Linux 2.4.11\uff09 \u6267\u884c lazy \u5378\u8f7d\u3002\u5bf9\u6302\u8f7d\u70b9\u52a0\u4ee5\u6807\u8bb0\uff0c\u4e00\u65b9\u9762\u5141\u8bb8\u5df2\u4f7f\u7528\u4e86\u6302\u8f7d\u70b9\u7684\u8fdb\u7a0b\u5f97\u4ee5\u7ee7\u7eed\u4f7f\u7528\uff0c\u540c\u65f6\u7981\u6b62\u4efb\u4f55\u5176\u4ed6\u8fdb\u7a0b\u5bf9\u8be5\u6302\u8f7d\u70b9\u53d1\u8d77\u65b0\u7684\u8bbf\u95ee\u3002\u5f53\u6240\u6709\u8fdb\u7a0b\u4e0d\u518d\u4f7f\u7528\u8bbf\u95ee\u70b9\u65f6\uff0c\u7cfb\u7edf\u4f1a\u5378\u8f7d\u76f8\u5e94\u7684\u6587\u4ef6\u7cfb\u7edf\u3002 <\/p>\n<\/li>\n<li>\n<p>MNT_EXPIRE<br \/>\n(\u59cb\u4e8e Linux 2.6.8) \u5c06\u6302\u8f7d\u70b9\u6807\u8bb0\u4e3a\u5230\u671f\uff08 expired\uff09\u3002\u82e5\u9996\u6b21\u8c03\u7528 umount2()\u65f6\u6307\u5b9a\u4e86\u8be5\u6807\u5fd7\uff0c\u4e14\u6302\u8f7d\u70b9\u5904\u4e8e\u7a7a\u95f2\u72b6\u6001\uff0c\u5219\u8be5\u8c03\u7528\u5c06\u4ee5\u5931\u8d25\u544a\u7ec8\uff0c\u5e76\u8fd4\u56de EAGAIN \u9519\u8bef\uff0c\u540c\u65f6\u5c06\u6302\u8f7d\u70b9\u6807\u8bb0\u4e3a\u5230\u671f\u3002\uff08\u5982\u679c\u6302\u8f7d\u70b9\u5904\u4e8e\u5728\u7528\u72b6\u6001\uff0c \u90a3\u4e48\u8c03\u7528\u4e5f\u5c06\u5931\u8d25\uff0c \u5e76\u8fd4\u56de EBUSY \u9519\u8bef\uff0c \u4f46\u4e0d\u4f1a\u5c06\u6302\u8f7d\u70b9\u6807\u8bb0\u4e3a\u5230\u671f\u3002 \uff09 \u53ea\u8981\u65e0\u4efb\u4f55\u540e\u7eed\u8fdb\u7a0b\u53d1\u8d77\u5bf9\u6302\u8f7d\u70b9\u7684\u8bbf\u95ee\uff0c\u8be5\u6302\u8f7d\u70b9\u4fbf\u4f1a\u4e00\u76f4\u4fdd\u6301\u5230\u671f\u72b6\u6001\u3002\u518d\u5ea6\u8c03\u7528umount2()\u65f6\uff0c\u5982\u6307\u5b9a MNT_EXPIRE \u6807\u5fd7\uff0c\u5c06\u5378\u8f7d\u5230\u671f\u7684\u6302\u8f7d\u70b9\u3002\u8fd9\u5c31\u63d0\u4f9b\u4e86\u4e00\u79cd\u673a\u5236\uff0c\u4ee5\u5378\u8f7d\u5728\u67d0\u6bb5\u65f6\u95f4\u5185\u672a\u7528\u7684\u6587\u4ef6\u7cfb\u7edf\u3002\u8be5\u6807\u5fd7\u4e0d\u80fd\u4e0e MNT_DETACH \u6216 MNT_FORCE \u6807\u5fd7\u4e00\u5e76\u4f7f\u7528\u3002 <\/p>\n<\/li>\n<li>\n<p>MNT_FORCE<br \/>\n\u5373\u4fbf\u6587\u4ef6\u7cfb\u7edf\uff08\u53ea\u5bf9 NFS \u6302\u8f7d\u6709\u6548\uff09\u5904\u4e8e\u5728\u7528\u72b6\u6001\uff0c\u4f9d\u7136\u5c06\u5176\u5f3a\u884c\u5378\u8f7d\u3002\u91c7\u7528\u8fd9\u4e00\u9009\u9879\u53ef\u80fd\u4f1a\u9020\u6210\u6570\u636e\u4e22\u5931\u3002<\/p>\n<\/li>\n<li>\n<p>UMOUNT_NOFOLLOW<br \/>\n(\u59cb\u4e8e Linux 2.6.34) \u82e5 target \u4e3a\u7b26\u53f7\u94fe\u63a5\uff0c\u5219\u4e0d\u5bf9\u5176\u8fdb\u884c\u89e3\u5f15\u7528\u3002\u8be5\u6807\u5fd7\u4e13\u4e3a\u67d0\u4e9b set-user-ID-root \u7a0b\u5e8f\u800c\u8bbe\u8ba1\u2014\u6b64\u7c7b\u7a0b\u5e8f\u5141\u8bb8\u975e\u7279\u6743\u7ea7\u7528\u6237\u6267\u884c\u5378\u8f7d\u64cd\u4f5c\uff0c\u610f\u5728\u907f\u514d\u5b89\u5168\u6027\u95ee\u9898\u7684\u53d1\u751f\uff08\u4f8b\u5982\uff0c\u82e5 target\u4e3a\u7b26\u53f7\u94fe\u63a5\uff0c\u4e14\u88ab\u6539\u53d8\u4ee5\u6307\u5411\u53e6\u5916\u7684\u4f4d\u7f6e<\/p>\n<\/li>\n<\/ul>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%94%E3%80%81%E6%96%87%E4%BB%B6%E7%B3%BB%E7%BB%9F%E7%B1%BB%E5%9E%8B\"><\/span>\u4e94\u3001\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/blog.csdn.net\/qq_39341113\/article\/details\/103521989\">https:\/\/blog.csdn.net\/qq_39341113\/article\/details\/103521989<\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"ext\"><\/span>ext<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u6269\u5c55\u6587\u4ef6\u7cfb\u7edf<\/p>\n<h3><span class=\"ez-toc-section\" id=\"SquashFS\"><\/span>SquashFS<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p>\u53ea\u8bfb\u6587\u4ef6\u7cfb\u7edf<br \/>\n<a href=\"https:\/\/www.leixue.com\/ask\/what-is-squashfs\">https:\/\/www.leixue.com\/ask\/what-is-squashfs<\/a><\/p>\n<h3><span class=\"ez-toc-section\" id=\"tmpfs%E4%B8%8Edevtmpfs\"><\/span>tmpfs\u4e0edevtmpfs<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"http:\/\/www.mybatis.cn\/archives\/1639.html\">http:\/\/www.mybatis.cn\/archives\/1639.html<\/a><br \/>\n<a href=\"https:\/\/blog.csdn.net\/weixin_45030965\/article\/details\/135293474\">https:\/\/blog.csdn.net\/weixin_45030965\/article\/details\/135293474<\/a><br \/>\ntmpfs\u662fLinux\/Unix\u7cfb\u7edf\u4e0a\u7684\u4e00\u79cd\u57fa\u4e8e\u5185\u5b58\u7684\u6587\u4ef6\u7cfb\u7edf\u3002tmpfs\u53ef\u4ee5\u4f7f\u7528\u60a8\u7684\u5185\u5b58\u6216swap\u5206\u533a\u6765\u5b58\u50a8\u6587\u4ef6\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"swap\"><\/span>swap<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/www.dbs724.com\/453703.html\">https:\/\/www.dbs724.com\/453703.html<\/a><br \/>\nSwap\u662fLinux\u64cd\u4f5c\u7cfb\u7edf\u63d0\u4f9b\u7684\u4e00\u79cd\u865a\u62df\u5185\u5b58\u6280\u672f\uff0c\u53ef\u4ee5\u5c06\u786c\u76d8\u7a7a\u95f4\u865a\u62df\u4e3a\u5185\u5b58\u533a\u57df\uff0c\u7528\u4e8e\u7f13\u5b58\u548c\u5b58\u50a8\u6682\u65f6\u4e0d\u9700\u8981\u7684\u5185\u5b58\u6570\u636e\u3002\u5b83\u901a\u8fc7\u5c06\u5185\u5b58\u4e2d\u7684\u4e0d\u6d3b\u52a8\u9875\u9762\u79fb\u5230\u786c\u76d8\u4e2d\uff0c\u4ece\u800c\u817e\u51fa\u7a7a\u95f4\uff0c\u8ba9\u65b0\u7684\u5185\u5b58\u6570\u636e\u5f97\u4ee5\u52a0\u8f7d\u3002<\/p>\n<h3><span class=\"ez-toc-section\" id=\"fat32\"><\/span>fat32<span class=\"ez-toc-section-end\"><\/span><\/h3>\n<p><a href=\"https:\/\/blog.csdn.net\/weixin_43839785\/article\/details\/111057973\">https:\/\/blog.csdn.net\/weixin_43839785\/article\/details\/111057973<\/a><\/p>\n<h2><span class=\"ez-toc-section\" id=\"%E4%BA%94%E3%80%81%E7%A8%80%E7%96%8F%E6%96%87%E4%BB%B6\"><\/span>\u4e94\u3001\u7a00\u758f\u6587\u4ef6<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><a href=\"https:\/\/blog.csdn.net\/weixin_56711920\/article\/details\/132610707\">https:\/\/blog.csdn.net\/weixin_56711920\/article\/details\/132610707<\/a><br \/>\n<a href=\"https:\/\/blog.51cto.com\/u_9843231\/4871402\">https:\/\/blog.51cto.com\/u_9843231\/4871402<\/a><\/p>\n<p>\u5982\u4f55\u5224\u65ad\u6587\u4ef6\u662f\u5426\u4e3a\u7a00\u758f\u6587\u4ef6\uff1afile\u547d\u4ee4\uff0c\u5982\u679c\u8be5\u6587\u4ef6\u662f\u7a00\u758f\u6587\u4ef6\uff0c\u5219\u4f1a\u5728\u7ed3\u679c\u4e2d\u663e\u793a\u7c7b\u4f3c\u4e8e &quot;Sparse&quot; \u6216\u8005 &quot;Sparse File&quot; \u8fd9\u6837\u7684\u4fe1\u606f\uff1b\u5982\u679c\u4e0d\u662f\u7a00\u758f\u6587\u4ef6\uff0c\u5219\u6ca1\u6709\u76f8\u5173\u7684\u7279\u5b9a\u6807\u8bc6\u3002<\/p>\n<button class=\"simplefavorite-button\" data-postid=\"6969\" data-siteid=\"1\" data-groupid=\"1\" data-favoritecount=\"0\" style=\"\">\u6536\u85cf <i class=\"sf-icon-star-empty\"><\/i><\/button>","protected":false},"excerpt":{"rendered":"<p>https:\/\/blog.csdn.net\/ganfanren00001\/article\/detai [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[478],"tags":[458],"_links":{"self":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/6969"}],"collection":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6969"}],"version-history":[{"count":88,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/6969\/revisions"}],"predecessor-version":[{"id":15964,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=\/wp\/v2\/posts\/6969\/revisions\/15964"}],"wp:attachment":[{"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6969"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6969"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/xinyiworld.top\/wordpress_it\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6969"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}