{"id":57049,"date":"2025-08-15T07:20:14","date_gmt":"2025-08-14T23:20:14","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/57049.html"},"modified":"2025-08-15T07:20:14","modified_gmt":"2025-08-14T23:20:14","slug":"linux%e7%b3%bb%e7%bb%9fnamespace%e9%9a%94%e7%a6%bb%e5%ae%9e%e6%88%98%ef%bc%9add-mkfs-mount-unshare%e5%91%bd%e4%bb%a4%e7%bb%84%e5%90%88%e5%ba%94%e7%94%a8","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/57049.html","title":{"rendered":"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528"},"content":{"rendered":"<p>\u5f15\u8a00&#xff1a; &#x1f4a1; \u9605\u8bfb\u7b56\u7565\u5efa\u8bae \u672c\u6587\u8bbe\u8ba1\u4e3a\u300c\u5de5\u5177\u5b57\u5178\u300d,\u65e0\u9700\u6b7b\u8bb0\u786c\u80cc&#xff0c;\u9047\u5230\u95ee\u9898\u65f6\u76f4\u63a5\u6309\u573a\u666f\u67e5\u9605\u5373\u53ef\u3002 \u4f60\u53ea\u9700\u8981&#xff1a; \u2003&#x1f538; \u4e86\u89e3\u6bcf\u4e2a\u6307\u4ee4\u80fd\u89e3\u51b3\u4ec0\u4e48\u95ee\u9898 \u2003&#x1f538; \u6536\u85cf\u672c\u6587\u4f5c\u4e3a\u5b9e\u6218\u5f39\u836f\u5e93 \u2003&#x1f538; \u9700\u8981\u65f6\u7528 Ctrl&#043;F \u7cbe\u51c6\u63d0\u53d6<\/p>\n<\/p>\n<h4>\u6587\u7ae0\u76ee\u5f55<\/h4>\n<ul>\n<li>1.\u4ec0\u4e48\u662fNamespace?<\/li>\n<li>2.dd\u547d\u4ee4<\/li>\n<li>3.mkfs\u547d\u4ee4<\/li>\n<li>4.df\u547d\u4ee4<\/li>\n<li>5.mount\u547d\u4ee4<\/li>\n<li>6.unshare \u547d\u4ee4<\/li>\n<li>7.PID\u9694\u79bb<\/li>\n<li>8.Mount\u9694\u79bb<\/li>\n<\/ul>\n<h2>1.\u4ec0\u4e48\u662fNamespace?<\/h2>\n<p>\u2003\u2003namespace\u662f Linux \u5185\u6838\u7528\u6765\u9694\u79bb\u5185\u6838\u8d44\u6e90\u7684\u65b9\u5f0f\u3002\u901a\u8fc7 namespace&#xff0c;\u4e0d\u540c\u8fdb\u7a0b\u80fd\u770b\u5230\u5404\u81ea\u72ec\u7acb\u7684\u8d44\u6e90&#xff0c;\u5f7c\u6b64\u4e4b\u95f4\u5b8c\u5168\u611f\u77e5\u4e0d\u5230\u5bf9\u65b9\u7684\u5b58\u5728\u3002\u5177\u4f53\u7684\u5b9e\u73b0\u65b9\u5f0f\u662f\u628a\u4e00\u4e2a\u6216\u591a\u4e2a\u8fdb\u7a0b\u7684\u76f8\u5173\u8d44\u6e90\u6307\u5b9a\u5728\u540c\u4e00\u4e2a namespace \u4e2d\u3002 \u2003\u2003Linux namespaces \u662f\u5bf9 \u5168\u5c40\u7cfb\u7edf\u8d44\u6e90\u7684\u4e00\u79cd\u5c01\u88c5\u9694\u79bb&#xff0c;\u4f7f\u5f97\u5904\u4e8e\u4e0d\u540c namespace \u7684\u8fdb\u7a0b\u62e5\u6709\u72ec\u7acb\u7684\u5168\u5c40\u7cfb\u7edf\u8d44\u6e90&#xff0c;\u6539\u53d8\u4e00\u4e2a namespace \u4e2d\u7684\u7cfb\u7edf\u8d44\u6e90\u53ea\u4f1a\u5f71\u54cd\u5f53\u524dnamespace \u91cc\u7684\u8fdb\u7a0b&#xff0c;\u5bf9\u5176\u4ed6 namespace \u4e2d\u7684\u8fdb\u7a0b\u6ca1\u6709\u5f71\u54cd\u3002 \u2003\u2003Linux \u63d0\u4f9b\u4e86\u591a\u4e2aAPI \u7528\u6765\u64cd\u4f5c namespace&#xff0c;\u5b83\u4eec\u662f clone()\u3001 setns()\u548c unshare()\u51fd\u6570&#xff0c;\u4e3a\u4e86\u660e\u786e\u9694\u79bb\u7684\u5177\u4f53\u662f\u54ea\u7c7b namespace&#xff0c;\u5728\u4f7f\u7528\u8fd9\u4e9b API \u65f6&#xff0c;\u901a\u5e38\u9700\u8981\u6307\u5b9a\u4e00\u4e9b\u8c03\u7528\u53c2\u6570&#xff1a; CLONE_NEWIPC\u3001 CLONE_NEWNET\u3001 CLONE_NEWNS\u3001CLONE_NEWPID\u3001 CLONE_NEWUSER\u3001 CLONE_NEWUTS\u548cCLONE_NEWCGROUP\u3002\u5982\u679c\u8981\u540c\u65f6\u9694\u79bb\u591a\u4e2a namespace&#xff0c;\u53ef\u4ee5\u4f7f\u7528 | (\u6309\u4f4d\u6216)\u7ec4\u5408\u8fd9\u4e9b\u53c2\u6570\u3002<\/p>\n<p>\u4e3e\u4e2a\u4f8b\u5b50 \u2003\u2003\u4e09\u5e74\u4e00\u73ed\u7684\u5c0f\u660e\u548c\u4e09\u5e74\u4e8c\u73ed\u7684\u5c0f\u660e&#xff0c;\u867d\u8bf4\u4ed6\u4eec\u540d\u5b57\u662f\u4e00\u6837\u7684&#xff0c;\u4f46\u662f\u6240\u5728\u73ed\u7ea7\u4e0d\u4e00\u6837&#xff0c;\u90a3\u4e48&#xff0c;\u5728\u5168\u5e74\u7ea7\u6392\u884c\u699c\u4e0a\u9762&#xff0c;\u5373\u4f7f\u51fa\u73b0\u4e24\u4e2a\u540d\u5b57\u4e00\u6837\u7684\u5c0f\u660e&#xff0c;\u4e5f\u4f1a\u901a\u8fc7\u5404\u81ea\u7684\u5b66\u53f7\u6765\u533a\u5206\u3002\u5bf9\u4e8e\u5b66\u6821\u6765\u8bf4&#xff0c;\u6bcf\u4e2a\u73ed\u7ea7\u5c31\u76f8\u5f53\u4e8e\u662f\u4e00\u4e2a\u547d\u540d\u7a7a\u95f4&#xff0c;\u8fd9\u4e2a\u7a7a\u95f4\u7684\u540d\u79f0\u662f\u73ed\u7ea7\u53f7\u3002\u73ed\u7ea7\u53f7\u7528\u4e8e\u63cf\u8ff0\u903b\u8f91\u4e0a\u7684\u5b66\u751f\u5206\u7ec4\u4fe1\u606f&#xff0c;\u81f3\u4e8e\u4ec0\u4e48\u5b66\u751f\u5206\u914d\u5230 1 \u73ed&#xff0c;\u4ec0\u4e48\u5b66\u751f\u5206\u914d\u5230 2 \u73ed&#xff0c;\u90a3\u5c31\u7531\u5b66\u6821\u5c42\u9762\u6765\u7edf\u4e00\u8c03\u5ea6\u3002<\/p>\n<h2>2.dd\u547d\u4ee4<\/h2>\n<ul>\n<li>\u529f\u80fd&#xff1a;\u7528\u4e8e\u8bfb\u53d6\u3001\u8f6c\u6362\u5e76\u8f93\u51fa\u6570\u636e\u3002dd\u53ef\u4ece\u6807\u51c6\u8f93\u5165\u6216\u6587\u4ef6\u4e2d\u8bfb\u53d6\u6570\u636e&#xff0c;\u6839\u636e\u6307\u5b9a\u7684\u683c\u5f0f\u6765\u8f6c\u6362\u6570\u636e&#xff0c;\u518d\u8f93\u51fa\u5230\u6587\u4ef6\u3001\u8bbe\u5907\u6216\u6807\u51c6\u6570\u636e\u3002<\/li>\n<\/ul>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p><span class=\"token function\">dd<\/span> OPITION<\/p>\n<p>\u53c2\u6570&#xff1a;<\/p>\n<ul>\n<li>if&#061;\u6587\u4ef6\u540d&#xff1a;\u8f93\u5165\u6587\u4ef6\u540d&#xff08;\u5373\u6307\u7684\u6e90\u6587\u4ef6&#xff09;&#xff0c;\u9ed8\u8ba4\u4e3a\u6807\u51c6\u8f93\u5165<\/li>\n<li>of&#061;\u6587\u4ef6\u540d&#xff1a;\u8f93\u51fa\u6587\u4ef6\u540d&#xff08;\u5373\u6307\u5b9a\u76ee\u7684\u6587\u4ef6&#xff09;&#xff0c;\u9ed8\u8ba4\u4e3a\u6807\u51c6\u8f93\u51fa<\/li>\n<li>ibs&#061;bytes&#xff1a;\u4e00\u6b21\u8bfb\u5165bytes\u4e2a\u5b57\u8282&#xff0c;\u5373\u6307\u5b9a\u4e00\u4e2a\u5757\u5927\u5c0f\u4e3abytes\u4e2a\u5b57\u8282<\/li>\n<li>obs&#061;bytes&#xff1a;\u4e00\u6b21\u8f93\u51fabytes\u4e2a\u5b57\u8282<\/li>\n<li>bs&#061;bytes&#xff1a;\u540c\u65f6\u8bfb\u5165\/\u8f93\u51fa\u7684\u5757\u5927\u5c0f\u4e3abytes\u5b57\u8282<\/li>\n<li>cbs&#061;bytes&#xff1a;\u4e00\u6b21\u8f6c\u6362bytes\u4e2a\u5b57\u8282&#xff0c;\u5373\u6307\u5b9a\u8f6c\u6362\u7f13\u51b2\u533a\u5927\u5c0f<\/li>\n<li>skip&#061;blocks&#xff1a;\u4ece\u8f93\u5165\u6587\u4ef6\u5f00\u5934\u8df3\u8fc7blocks\u4e2a\u5757\u540e\u518d\u5f00\u59cb\u62f7\u8d1d<\/li>\n<li>seek&#061;blocks&#xff1a;\u4ece\u8f93\u51fa\u6587\u4ef6\u5f00\u5934\u8df3\u8fc7blocks\u4e2a\u5757\u540e\u5f00\u59cb\u62f7\u8d1d<\/li>\n<li>count&#061;blocks&#xff1a;\u4ec5\u62f7\u8d1dblocks\u4e2a\u5757&#xff0c;\u5757\u5927\u5c0f\u7b49\u4e8eibs\u6307\u5b9a\u7684\u5b57\u8282\u6570<\/li>\n<li>conv&#061;&lt;\u5173\u952e\u5b57&gt;&#xff0c;\u5173\u952e\u5b57\u6709\u4ee5\u4e0b11\u4e2d&#xff1a;\n<ul>\n<li>conversion&#xff1a;\u7528\u6307\u5b9a\u7684\u53c2\u6570\u8f6c\u6362\u6587\u4ef6<\/li>\n<li>ascii&#xff1a;\u8f6c\u6362 ebcdic \u4e3a ascii<\/li>\n<li>ebcdic&#xff1a;\u8f6c\u6362 ascii \u4e3a ebcdic<\/li>\n<li>ibm&#xff1a;\u8f6c\u6362 ascii \u4e3a alternate ebcdic<\/li>\n<li>block&#xff1a;\u628a\u6bcf\u4e00\u884c\u8f6c\u6362\u4e3a\u957f\u5ea6\u4e3a cbs&#xff0c;\u4e0d\u8db3\u90e8\u5206\u7528\u7a7a\u683c\u586b\u5145<\/li>\n<li>unblock&#xff1a;\u4f7f\u6bcf\u4e00\u884c\u7684\u957f\u5ea6\u90fd\u4e3a cbs&#xff0c;\u4e0d\u8db3\u90e8\u5206\u7528\u7a7a\u683c\u586b\u5145<\/li>\n<li>lcase&#xff1a;\u628a\u5927\u5199\u5b57\u7b26\u8f6c\u6362\u4e3a\u5c0f\u5199\u5b57\u7b26<\/li>\n<li>ucase&#xff1a;\u628a\u5c0f\u5199\u5b57\u7b26\u8f6c\u6362\u4e3a\u5927\u5199\u5b57\u7b26<\/li>\n<li>swap&#xff1a;\u4ea4\u6362\u8f93\u5165\u7684\u6bcf\u5bf9\u5b57\u8282<\/li>\n<li>noerror&#xff1a;\u51fa\u9519\u65f6\u4e0d\u505c\u6b62<\/li>\n<li>sync: \u5c06\u6bcf\u4e2a\u8f93\u5165\u5757\u586b\u5145\u5230 ibs \u4e2a\u5b57\u8282&#xff0c;\u4e0d\u8db3\u90e8\u5206\u7528\u7a7a&#xff08;NULL&#xff09;\u5b57\u7b26\u8865\u9f50\u3002<\/li>\n<\/ul>\n<\/li>\n<li>&#8211;help: \u663e\u793a\u5e2e\u52a9\u4fe1\u606f<\/li>\n<li>&#8211;version: \u663e\u793a\u7248\u672c\u4fe1\u606f<\/li>\n<\/ul>\n<p>\u793a\u4f8b&#xff1a;\u521b\u5efa\u6307\u5b9a\u5927\u5c0f\u7a7a\u767d\u6587\u4ef6<\/p>\n<ul>\n<li>\u8f93\u5165\u6587\u4ef6&#xff1a;\u7279\u6b8a\u6587\u4ef6\u8bbe\u5907&#xff0c;\u4ea7\u751f\u8fde\u7eed\u4e0d\u65ad\u7684\u7a7a\u767d\u5b57\u7b26\u6d41\u3002<\/li>\n<li>\u8f93\u51fa\u6587\u4ef6&#xff1a;\u7a7a\u767d\u955c\u50cf\u6587\u4ef6\u3002<\/li>\n<\/ul>\n<p><span class=\"token function\">dd<\/span> <span class=\"token assign-left variable\">if<\/span><span class=\"token operator\">&#061;<\/span>\/dev\/zero <span class=\"token assign-left variable\">of<\/span><span class=\"token operator\">&#061;<\/span>test.img <span class=\"token assign-left variable\">bs<\/span><span class=\"token operator\">&#061;<\/span>8k <span class=\"token assign-left variable\">count<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">1024<\/span><\/p>\n<p>\u6548\u679c\u5982\u4e0b&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232001-689e6f21d7378.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> \u793a\u4f8b2&#xff1a; \u5927\u5c0f\u5199\u8f6c\u6362<\/p>\n<p><span class=\"token function\">vim<\/span> in.txt <span class=\"token comment\">#\u521b\u5efa\u6587\u4ef6&#xff0c;\u5728\u91cc\u9762\u5199\u5165 hello world<\/span><br \/>\n<span class=\"token function\">dd<\/span> <span class=\"token assign-left variable\">if<\/span><span class=\"token operator\">&#061;<\/span>in.txt <span class=\"token assign-left variable\">of<\/span><span class=\"token operator\">&#061;<\/span>out.txt <span class=\"token assign-left variable\">conv<\/span><span class=\"token operator\">&#061;<\/span>ucase<\/p>\n<p>\u6548\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232002-689e6f22cc189.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>3.mkfs\u547d\u4ee4<\/h2>\n<p>\u529f\u80fd&#xff1a;<\/p>\n<ul>\n<li>\u7528\u4e8e\u5728\u8bbe\u5907\u4e0a\u521b\u5efa Linux \u6587\u4ef6\u7cfb\u7edf&#xff08;\u4fd7\u79f0\u683c\u5f0f\u5316&#xff09;&#xff0c;\u4f8b\u5982\u683c\u5f0f\u5316 U \u76d8\u7b49\u5b58\u50a8\u8bbe\u5907\u3002<\/li>\n<\/ul>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p><span class=\"token function\">mkfs<\/span> <span class=\"token punctuation\">[<\/span>-V<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span>-t fstype<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span>fs-options<span class=\"token punctuation\">]<\/span> filesys <span class=\"token punctuation\">[<\/span>blocks<span class=\"token punctuation\">]<\/span><\/p>\n<p>\u53c2\u6570\u8bf4\u660e<\/p>\n<ul>\n<li>-V&#xff1a;\u542f\u7528\u8be6\u7ec6\u663e\u793a\u6a21\u5f0f\u3002<\/li>\n<li>-t fstype&#xff1a;\u6307\u5b9a\u8981\u521b\u5efa\u7684\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b&#xff08;\u5982 ext3\u3001ext4&#xff09;\u3002<\/li>\n<li>filesys&#xff1a;\u6307\u5b9a\u76ee\u6807\u8bbe\u5907\u7684\u6587\u4ef6\u540d&#xff08;\u5982 \/dev\/sdb1&#xff09;\u3002<\/li>\n<li>blocks&#xff1a;\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\u7684\u78c1\u76d8\u5757\u6570\u3002<\/li>\n<li>fs-options&#xff1a;\u4f20\u9012\u7ed9\u5177\u4f53\u6587\u4ef6\u7cfb\u7edf\u7684\u989d\u5916\u53c2\u6570\u3002<\/li>\n<\/ul>\n<p>\u793a\u4f8b&#xff1a; \u628a\u955c\u50cf\u6587\u4ef6\u683c\u5f0f\u5316\u4e3a\u78c1\u76d8\u6587\u4ef6\u3002<\/p>\n<p><span class=\"token function\">mkfs<\/span> <span class=\"token parameter variable\">-t<\/span> ext4 .\/test.img<\/p>\n<p>\u6548\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232003-689e6f23dfcf9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>4.df\u547d\u4ee4<\/h2>\n<ul>\n<li>\u529f\u80fd&#xff1a;\u7528\u4e8e\u663e\u793a Linux \u7cfb\u7edf\u4e0a\u6587\u4ef6\u7cfb\u7edf\u7684\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\u7edf\u8ba1\u3002<\/li>\n<\/ul>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p><span class=\"token function\">df<\/span> <span class=\"token punctuation\">[<\/span>OPTION<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">..<\/span>. <span class=\"token punctuation\">[<\/span>FILE<span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">..<\/span>.<\/p>\n<p>\u5e38\u89c1\u53c2\u6570<\/p>\n<ul>\n<li>-a, &#8211;all&#xff1a;\u663e\u793a\u6240\u6709\u6587\u4ef6\u7cfb\u7edf&#xff08;\u5305\u62ec\u5360\u7528 0 Blocks \u7684\u6587\u4ef6\u7cfb\u7edf&#xff09;\u3002<\/li>\n<li>-h, &#8211;human-readable&#xff1a;\u4ee5\u4eba\u7c7b\u53ef\u8bfb\u7684\u683c\u5f0f\u663e\u793a&#xff08;\u5982 KB\u3001MB\u3001GB&#xff09;\u3002<\/li>\n<li>-H, &#8211;si&#xff1a;\u7c7b\u4f3c -h&#xff0c;\u4f46\u4ee5 1000 \u4e3a\u5355\u4f4d\u6362\u7b97&#xff08;\u800c\u975e 1024&#xff09;\u3002<\/li>\n<li>-t, &#8211;type&#061;TYPE&#xff1a;\u4ec5\u663e\u793a\u6307\u5b9a\u7c7b\u578b\u7684\u6587\u4ef6\u7cfb\u7edf&#xff08;\u5982 ext4&#xff09;\u3002<\/li>\n<li>-T, &#8211;print-type&#xff1a;\u663e\u793a\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3002 \u793a\u4f8b&#xff1a;<\/li>\n<\/ul>\n<p><span class=\"token function\">df<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232004-689e6f244352a.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><span class=\"token function\">df<\/span> <span class=\"token parameter variable\">-a<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232004-689e6f24c6c49.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><span class=\"token function\">df<\/span> <span class=\"token parameter variable\">-h<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232006-689e6f260c942.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><span class=\"token function\">df<\/span> <span class=\"token parameter variable\">-t<\/span> ext4<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232006-689e6f2665fc3.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>5.mount\u547d\u4ee4<\/h2>\n<ul>\n<li>\u529f\u80fd&#xff1a;\u7528\u4e8e\u5c06\u6587\u4ef6\u7cfb\u7edf\u52a0\u8f7d\u5230\u6307\u5b9a\u7684\u6302\u8f7d\u70b9\u3002\u8be5\u547d\u4ee4\u5e38\u7528\u4e8e\u6302\u8f7d\u5149\u76d8\u7b49\u5b58\u50a8\u8bbe\u5907&#xff0c;\u56e0\u4e3a\u5728 Linux \u7cfb\u7edf\u4e2d\u63d2\u5165\u5149\u76d8\u540e\u4e0d\u4f1a\u81ea\u52a8\u6302\u8f7d&#xff0c;\u9700\u624b\u52a8\u4f7f\u7528 mount \u547d\u4ee4\u5b8c\u6210\u6302\u8f7d\u64cd\u4f5c\u3002<\/li>\n<\/ul>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p><span class=\"token function\">mount<\/span> <span class=\"token parameter variable\">-t<\/span> <span class=\"token punctuation\">[<\/span>\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span>\u9009\u9879<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span>\u8bbe\u5907\u6e90<span class=\"token punctuation\">]<\/span> <span class=\"token punctuation\">[<\/span>\u6302\u8f7d\u70b9<span class=\"token punctuation\">]<\/span><\/p>\n<p>\u4ec0\u4e48\u662f\u6302\u8f7d&#xff1f;\u4f8b\u5b50&#xff1a;\u63d2\u5165U\u76d8&#xff0c;\u7136\u540e\u5f39\u51fa\u78c1\u76d8E:<\/p>\n<p>Linux \u6302\u8f7d\u7279\u70b9<\/p>\n<ul>\n<li>\u7075\u6d3b\u7ec4\u5408&#xff1a;\n<ul>\n<li>Linux \u7cfb\u7edf\u4e0b\u4e0d\u540c\u76ee\u5f55\u53ef\u4ee5\u6302\u8f7d\u5230\u4e0d\u540c\u7684\u5206\u533a\u6216\u78c1\u76d8\u8bbe\u5907\u3002<\/li>\n<li>\u76ee\u5f55\u4e0e\u78c1\u76d8\u5206\u533a\u662f\u5206\u79bb\u7684&#xff0c;\u53ef\u901a\u8fc7\u6302\u8f7d\u81ea\u7531\u7ec4\u5408\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u6570\u636e\u5206\u5e03&#xff1a;\n<ul>\n<li>\u4e0d\u540c\u76ee\u5f55\u7684\u6570\u636e\u53ef\u4ee5\u8de8\u8d8a\u591a\u4e2a\u78c1\u76d8\u5206\u533a\u6216\u4e0d\u540c\u7684\u78c1\u76d8\u8bbe\u5907\u3002<\/li>\n<\/ul>\n<\/li>\n<li>\u6302\u8f7d\u5b9e\u8d28&#xff1a;\n<ul>\n<li>\u6302\u8f7d\u7684\u672c\u8d28\u662f\u4e3a\u78c1\u76d8\u8bbe\u5907\u6dfb\u52a0\u8bbf\u95ee\u5165\u53e3&#xff08;\u6302\u8f7d\u70b9&#xff09;\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>\u793a\u4f8b&#xff1a; \u2003\u2003\u7528\u4e0a\u6587\u683c\u5f0f\u5316\u597d\u7684test.img\u6587\u4ef6&#xff0c;\u6302\u8f7d\u5230\u76ee\u5f55&#xff0c;\u5982\u76ee\u5f55mkdir testmount&#xff08;\u5148\u521b\u5efa\u597d\u8be5\u76ee\u5f55&#xff09; \u6302\u8f7d&#xff1a;<\/p>\n<p><span class=\"token function\">mount<\/span> .\/test.img  \/testmount<\/p>\n<p>\u67e5\u770b&#xff1a;<\/p>\n<p><span class=\"token function\">df<\/span> <span class=\"token parameter variable\">-h<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232006-689e6f26ae1f9.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u73b0\u5728\u6211\u4eec\u5c31\u628a\u4e00\u4e2a\u7a7a\u767d\u955c\u50cf\u6587\u4ef6\u6302\u8f7d\u6210\u78c1\u76d8\u3002<\/p>\n<h2>6.unshare \u547d\u4ee4<\/h2>\n<ul>\n<li>\u529f\u80fd&#xff1a;\u7528\u4e8e\u5728\u4e0d\u5171\u4eab\u7236\u8fdb\u7a0b\u547d\u540d\u7a7a\u95f4\u7684\u60c5\u51b5\u4e0b\u8fd0\u884c\u6307\u5b9a\u7a0b\u5e8f\u3002<\/li>\n<\/ul>\n<p>\u8bed\u6cd5&#xff1a;<\/p>\n<p>unshare <span class=\"token punctuation\">[<\/span>options<span class=\"token punctuation\">]<\/span> program <span class=\"token punctuation\">[<\/span>arguments<span class=\"token punctuation\">]<\/span><\/p>\n<p>\u77ed\u53c2\u6570 \u957f\u53c2\u6570 \u529f\u80fd\u63cf\u8ff0<\/p>\n<ul>\n<li>-i,&#8211;ipc&#xff1a;\u4e0d\u5171\u4eab IPC \u547d\u540d\u7a7a\u95f4&#xff08;\u8fdb\u7a0b\u95f4\u901a\u4fe1\u9694\u79bb&#xff09;<\/li>\n<li>-m,&#8211;mount&#xff1a;\u4e0d\u5171\u4eab Mount \u547d\u540d\u7a7a\u95f4&#xff08;\u6587\u4ef6\u7cfb\u7edf\u6302\u8f7d\u70b9\u9694\u79bb&#xff09;<\/li>\n<li>-n,&#8211;net&#xff1a;\u4e0d\u5171\u4eab Net \u547d\u540d\u7a7a\u95f4&#xff08;\u7f51\u7edc\u6808\u9694\u79bb&#xff09;<\/li>\n<li>-p,&#8211;pid&#xff1a;\u4e0d\u5171\u4eab PID \u547d\u540d\u7a7a\u95f4&#xff08;\u8fdb\u7a0bID\u9694\u79bb&#xff09;<\/li>\n<li>-u,&#8211;uts&#xff1a;\u4e0d\u5171\u4eab UTS \u547d\u540d\u7a7a\u95f4&#xff08;\u4e3b\u673a\u540d\u548c\u57df\u540d\u9694\u79bb&#xff09;<\/li>\n<li>-U,&#8211;user&#xff1a;\u4e0d\u5171\u4eab User \u547d\u540d\u7a7a\u95f4&#xff08;\u7528\u6237\u548c\u7528\u6237\u7ec4\u9694\u79bb&#xff09;<\/li>\n<li>-V,&#8211;version&#xff1a;\u663e\u793a unshare \u547d\u4ee4\u7248\u672c\u4fe1\u606f<\/li>\n<li>&#8211;fork&#xff1a;\u5148 fork \u5b50\u8fdb\u7a0b&#xff0c;\u518d\u5728\u5b50\u8fdb\u7a0b\u4e2d\u6267\u884c unshare&#xff08;\u7528\u4e8e\u907f\u514d\u5f71\u54cd\u7236\u8fdb\u7a0b\u73af\u5883&#xff09;<\/li>\n<li>&#8211;mount-proc&#xff1a;\u5728\u542f\u52a8\u5b50\u8fdb\u7a0b\u524d&#xff0c;\u4f18\u5148\u6302\u8f7d \/proc \u6587\u4ef6\u7cfb\u7edf&#xff08;\u901a\u5e38\u4e0e &#8211;pid \u914d\u5408\u4f7f\u7528&#xff09;<\/li>\n<\/ul>\n<p>\u793a\u4f8b \u9694\u79bb\u4e3b\u673a\u540d&#xff0c;\u521b\u5efa\u65b0\u7684bash\u5b50\u8fdb\u7a0b\u5e76\u4e0e\u7236\u8fdb\u7a0b\u9694\u79bb&#xff1a;<\/p>\n<p>unshare <span class=\"token parameter variable\">-u<\/span> \/bin\/bash<\/p>\n<p>\u9a8c\u8bc1&#xff1a;<\/p>\n<p><span class=\"token function\">hostname<\/span> <span class=\"token builtin class-name\">test<\/span> <span class=\"token comment\">#\u8bbe\u7f6e\u4e3b\u673a\u540d&#xff0c;\u4e3atest<\/span><br \/>\n<span class=\"token function\">hostname<\/span> <span class=\"token comment\">#\u67e5\u770b\u4e3b\u673a\u540d&#xff0c;\u5e76\u65b0\u7a97\u53e3\u67e5\u770b\u4e3b\u673a\u540d\u662f\u5426\u4e00\u6837\u3002<\/span><br \/>\n<span class=\"token builtin class-name\">exit<\/span> <span class=\"token comment\">#\u9000\u51fa\u5b50\u8fdb\u7a0b<\/span><br \/>\n<span class=\"token function\">hostname<\/span> <span class=\"token comment\">#\u67e5\u770b\u4e3b\u673a\u540d<\/span><\/p>\n<p>\u6548\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232007-689e6f273522b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<h2>7.PID\u9694\u79bb<\/h2>\n<p>\u793a\u4f8b&#xff1a;<\/p>\n<p>unshare <span class=\"token parameter variable\">-p<\/span> \/bin\/bash <span class=\"token comment\">#\u9519\u8bef\u6f14\u793a<\/span><\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232007-689e6f275335b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><font color=\"red\">PID \u547d\u540d\u7a7a\u95f4\u7684\u7279\u6027<\/font><\/p>\n<p>\u2003\u2003PID \u547d\u540d\u7a7a\u95f4\u7684\u76ee\u7684\u662f\u9694\u79bb\u8fdb\u7a0b\u6811&#xff0c;\u4f7f\u65b0\u547d\u540d\u7a7a\u95f4\u4e2d\u7684\u8fdb\u7a0b\u4ece PID 1 \u5f00\u59cb\u91cd\u65b0\u7f16\u53f7\u3002\u4f46 Linux \u8981\u6c42&#xff1a;<\/p>\n<ul>\n<li>\u6bcf\u4e2a PID \u547d\u540d\u7a7a\u95f4\u5fc5\u987b\u6709\u4e00\u4e2a\u521d\u59cb\u8fdb\u7a0b&#xff08;init \u8fdb\u7a0b&#xff0c;PID&#061;1&#xff09;\u3002<\/li>\n<li>\u8fd9\u4e2a init \u8fdb\u7a0b\u9700\u8981<font color=\"red\">\u7ba1\u7406\u547d\u540d\u7a7a\u95f4\u5185\u7684\u5b64\u513f\u8fdb\u7a0b&#xff08;\u9632\u6b62\u50f5\u5c38\u8fdb\u7a0b&#xff09;<\/font>\u3002<\/li>\n<\/ul>\n<p>\u5982\u679c\u76f4\u63a5\u8fd0\u884c unshare -p \/bin\/bash&#xff1a;<\/p>\n<ul>\n<li>\n<p>\/bin\/bash \u4f1a\u7ee7\u627f\u5f53\u524d\u8fdb\u7a0b\u7684 PID&#xff08;\u4ecd\u5728\u539f\u547d\u540d\u7a7a\u95f4&#xff09;&#xff0c;\u65e0\u6cd5\u6210\u4e3a\u65b0 PID \u547d\u540d\u7a7a\u95f4\u7684 init \u8fdb\u7a0b\u3002<\/p>\n<\/li>\n<li>\n<p>\u65b0\u547d\u540d\u7a7a\u95f4\u6ca1\u6709\u6709\u6548\u7684 init \u8fdb\u7a0b&#xff0c;\u5bfc\u81f4\u529f\u80fd\u5f02\u5e38&#xff08;\u5982ps\u3001top \u7b49\u547d\u4ee4\u5931\u6548&#xff09;\u3002<\/p>\n<\/li>\n<\/ul>\n<p><font color=\"red\"> &#8211;fork\u7684\u4f5c\u7528<\/font> \u2003\u2003&#8211;fork&#xff08;\u6216 -f&#xff09;\u4f1a\u8ba9 unshare\u5728\u521b\u5efa\u65b0\u547d\u540d\u7a7a\u95f4\u540e&#xff0c;\u5148\u8c03\u7528 fork() \u521b\u5efa\u4e00\u4e2a\u5b50\u8fdb\u7a0b&#xff0c;\u518d\u5728\u8be5\u5b50\u8fdb\u7a0b\u4e2d\u8fd0\u884c \/bin\/bash\u3002\u8fd9\u6837&#xff1a;<\/p>\n<li>unshare\u8c03\u7528 fork()&#xff0c;\u751f\u6210\u4e00\u4e2a\u5b50\u8fdb\u7a0b\u3002<\/li>\n<li>\u5b50\u8fdb\u7a0b\u8fdb\u5165\u65b0\u7684 PID \u547d\u540d\u7a7a\u95f4&#xff0c;\u5e76\u6210\u4e3a\u8be5\u547d\u540d\u7a7a\u95f4\u7684 init\u8fdb\u7a0b&#xff08;PID&#061;1&#xff09;\u3002<\/li>\n<li>\u5b50\u8fdb\u7a0b\u518d\u6267\u884c \/bin\/bash&#xff0c;\u6b64\u65f6 Bash \u7684 PID \u5728\u65b0\u547d\u540d\u7a7a\u95f4\u4e2d\u4e3a 1\u3002<\/li>\n<p>\u5982\u679c\u6ca1\u6709 &#8211;fork&#xff1a;<\/p>\n<ul>\n<li>\/bin\/bash\u7684 PID \u4ecd\u7136\u662f\u539f\u547d\u540d\u7a7a\u95f4\u7684 PID&#xff08;\u975e 1&#xff09;&#xff0c;\u5bfc\u81f4\u65b0 PID \u547d\u540d\u7a7a\u95f4\u65e0 init \u8fdb\u7a0b&#xff0c;\u7834\u574f\u9694\u79bb\u6027\u3002<\/li>\n<\/ul>\n<p>\u6dfb\u52a0 &#8211;fork&#xff1a;<\/p>\n<p>unshare <span class=\"token parameter variable\">-p<\/span> <span class=\"token parameter variable\">&#8211;fork<\/span> \/bin\/bash <span class=\"token comment\">#\u9519\u8bef\u6f14\u793a<\/span><\/p>\n<p>\u6ce8\u610f&#xff1a;\u5982\u679c\u6267\u884c\u5931\u8d25&#xff0c;\u4f7f\u7528exit\u6307\u4ee4\u9000\u51fa\u5b50\u8fdb\u7a0b&#xff0c;\u518d\u8fdb\u884c\u6267\u884c\u3002 \u2003\u2003\u4ec5\u52a0\u4e0a &#8211;fork\u9009\u9879\u4ecd\u7136\u6709\u95ee\u9898&#xff0c;\u5f53\u8fd0\u884cps\u3001top\u3001htop \u7b49\u547d\u4ee4\u65f6&#xff0c;\u5b83\u4eec\u5b9e\u9645\u4e0a\u662f\u4ece \u5386\u53f2\/proc \u8bfb\u53d6\u6570\u636e\u3002 \u6548\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232007-689e6f276c36d.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p><font color=\"red\">\/proc \u6587\u4ef6\u7cfb\u7edf\u7684\u4f5c\u7528<\/font> \/proc \u662f\u4e00\u4e2a \u865a\u62df\u6587\u4ef6\u7cfb\u7edf&#xff08;procfs&#xff09;&#xff0c;\u5b83\u52a8\u6001\u53cd\u6620\u7cfb\u7edf\u5185\u6838\u7684\u8fd0\u884c\u65f6\u4fe1\u606f&#xff0c;\u5305\u62ec&#xff1a;<\/p>\n<ul>\n<li>\u8fdb\u7a0b\u4fe1\u606f&#xff08;\/proc\/[PID]\/&#xff09;<\/li>\n<li>\u7cfb\u7edf\u8d44\u6e90&#xff08;CPU\u3001\u5185\u5b58\u3001\u8bbe\u5907\u7b49&#xff09;<\/li>\n<li>\u5185\u6838\u53c2\u6570&#xff08;\u53ef\u901a\u8fc7 sysctl \u8c03\u6574&#xff09;<\/li>\n<\/ul>\n<p>\u5f53\u8fd0\u884cps\u3001top\u3001htop \u7b49\u547d\u4ee4\u65f6&#xff0c;\u5b83\u4eec\u5b9e\u9645\u4e0a\u662f\u4ece\/proc \u8bfb\u53d6\u6570\u636e\u3002 <font color=\"red\">\u9ed8\u8ba4 \/proc \u7684\u95ee\u9898<\/font> \u9ed8\u8ba4\u60c5\u51b5\u4e0b&#xff0c;\/proc \u6302\u8f7d\u7684\u662f \u5bbf\u4e3b\u673a\u7684 PID \u547d\u540d\u7a7a\u95f4 \u7684\u4fe1\u606f\u3002\u5982\u679c\u53ea\u8fd0\u884c&#xff1a;<\/p>\n<ul>\n<li>bash<\/li>\n<li>unshare -p &#8211;fork \/bin\/bash\u867d\u7136\u8fdb\u5165\u4e86\u65b0\u7684 PID \u547d\u540d\u7a7a\u95f4&#xff08;echo $$ \u663e\u793a 1&#xff09;&#xff0c; \u4f46 \/proc \u4ecd\u7136\u663e\u793a\u539f\u547d\u540d\u7a7a\u95f4\u7684\u8fdb\u7a0b\u4fe1\u606f&#xff0c;\u5bfc\u81f4&#xff1a;\n<ul>\n<li>ps aux\u4f1a\u663e\u793a\u6240\u6709\u5bbf\u4e3b\u673a\u8fdb\u7a0b&#xff08;\u800c\u975e\u5f53\u524d\u547d\u540d\u7a7a\u95f4\u7684\u8fdb\u7a0b&#xff09;\u3002<\/li>\n<li>top\u3001htop\u7b49\u5de5\u5177\u4e5f\u65e0\u6cd5\u6b63\u786e\u8fd0\u884c\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><font color=\"red\">\u2013mount-proc \u7684\u4f5c\u7528<\/font><\/p>\n<p>&#8211;mount-proc\u9009\u9879\u4f1a\u81ea\u52a8&#xff1a;<\/p>\n<ul>\n<li>\u5378\u8f7d\u5f53\u524d \/proc&#xff08;\u5982\u679c\u5df2\u6302\u8f7d&#xff09;\u3002<\/li>\n<li>\u91cd\u65b0\u6302\u8f7d\u4e00\u4e2a\u65b0\u7684 \/proc&#xff0c;\u4f7f\u5176\u4ec5\u663e\u793a \u5f53\u524d PID\u547d\u540d\u7a7a\u95f4 \u7684\u8fdb\u7a0b\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<p>\u793a\u4f8b&#xff08;\u6b63\u786e\u7528\u6cd5&#xff09;:<\/p>\n<p>unshare <span class=\"token parameter variable\">-p<\/span> <span class=\"token parameter variable\">&#8211;fork<\/span> &#8211;mount-proc \/bin\/bash<\/p>\n<p>\u6548\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232009-689e6f29eed2b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n<p>\u8fd0\u884c\u540e&#xff1a;<\/p>\n<ul>\n<li>echo $$\u8fd4\u56de 1&#xff08;\u5f53\u524d Bash \u662f\u65b0\u547d\u540d\u7a7a\u95f4\u7684 init \u8fdb\u7a0b&#xff09;\u3002<\/li>\n<li>ls \/proc\u4ec5\u663e\u793a\u5f53\u524d\u547d\u540d\u7a7a\u95f4\u7684\u8fdb\u7a0b&#xff08;\u5982 1\/, 2\/ \u7b49&#xff09;\u3002<\/li>\n<li>ps aux\u4ec5\u663e\u793a\u5f53\u524d\u547d\u540d\u7a7a\u95f4\u7684\u8fdb\u7a0b\u3002<\/li>\n<\/ul>\n<p><font color=\"red\"> \u5982\u679c\u4e0d\u52a0 &#8211;mount-proc\u4f1a\u600e\u6837&#xff1f;<\/font> \u5982\u679c\u4e0d\u52a0 &#8211;mount-proc&#xff0c;\u4f60\u9700\u8981 \u624b\u52a8\u91cd\u65b0\u6302\u8f7d \/proc&#xff1a; mount -t proc proc \/proc# \u624b\u52a8\u6302\u8f7d \u5426\u5219&#xff1a;<\/p>\n<ul>\n<li>ps aux\u4f1a\u663e\u793a \u5bbf\u4e3b\u673a\u7684\u6240\u6709\u8fdb\u7a0b&#xff08;\u4e0d\u7b26\u5408 PID \u9694\u79bb\u7684\u9884\u671f&#xff09;\u3002<\/li>\n<li>\u67d0\u4e9b\u4f9d\u8d56 \/proc \u7684\u547d\u4ee4&#xff08;\u5982 pstree\u3001pgrep&#xff09;\u53ef\u80fd\u62a5\u9519\u3002<\/li>\n<\/ul>\n<p><font color=\"red\">\u4e3a\u4ec0\u4e48\u4e0d\u80fd\u590d\u7528\u65e7\u7684 \/proc&#xff1f;<\/font><\/p>\n<ul>\n<li>\u56e0\u4e3a \/proc \u7684\u5185\u5bb9\u662f\u52a8\u6001\u751f\u6210\u7684&#xff0c;\u5b83\u4f9d\u8d56\u4e8e \u5f53\u524d PID \u547d\u540d\u7a7a\u95f4&#xff1a;<\/li>\n<li>\u5728 \u65b0 PID \u547d\u540d\u7a7a\u95f4 \u4e2d&#xff0c;\u8fdb\u7a0b\u7684 PID \u4f1a\u91cd\u65b0\u7f16\u53f7&#xff08;\u5982 bash \u53d8\u6210 PID 1&#xff09;\u3002 \u4f46\u65e7\u7684 \/proc \u4ecd\u7136\u5173\u8054 \u539f\u547d\u540d\u7a7a\u95f4&#xff0c;\u5bfc\u81f4&#xff1a;\n<ul>\n<li>\/proc\/1\/\u53ef\u80fd\u6307\u5411\u5bbf\u4e3b\u673a systemd \u6216 init&#xff0c;\u800c\u975e\u5f53\u524d bash\u3002<\/li>\n<li>ps\u8bfb\u53d6 \/proc \u65f6&#xff0c;\u4f1a\u770b\u5230\u9519\u8bef\u7684\u8fdb\u7a0b\u4fe1\u606f\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&#8211;mount-proc\u786e\u4fdd \/proc \u548c \u5f53\u524d PID \u547d\u540d\u7a7a\u95f4 \u5339\u914d\u3002<\/p>\n<p>\u9a8c\u8bc1&#xff1a;\u6253\u5f00\u65b0\u7a97\u53e3&#xff0c;\u67e5\u770b\u4e24\u4e2a\u7a97\u53e3\u7684ls -l \/proc\u548cps -ef<\/p>\n<h2>8.Mount\u9694\u79bb<\/h2>\n<p><font color=\"red\">\u6587\u4ef6\u7cfb\u7edf\u9694\u79bb<\/font> \u4e00\u5171\u9700\u8981\u5b8c\u6210\u4e09\u6b65&#xff1a;<\/p>\n<ul>\n<li>\u521b\u5efa\u2013mount\u8fdb\u7a0b<\/li>\n<li>\u521b\u5efa\u7a7a\u767d\u6587\u4ef6&#xff0c;\u6302\u8f7d\u6210\u78c1\u76d8<\/li>\n<li>\u521b\u5efamount\u9694\u79bb\u8fdb\u7a0b<\/li>\n<\/ul>\n<p>\u521b\u5efa\u2013mount\u8fdb\u7a0b<\/p>\n<p>unshare <span class=\"token parameter variable\">&#8211;mount<\/span> <span class=\"token parameter variable\">&#8211;fork<\/span> \/bin\/bash<\/p>\n<p>\u521b\u5efa\u7a7a\u767d\u6587\u4ef6\u5b8c\u6210\u6302\u8f7d<\/p>\n<p><span class=\"token function\">dd<\/span> <span class=\"token assign-left variable\">if<\/span><span class=\"token operator\">&#061;<\/span>\/dev\/zero <span class=\"token assign-left variable\">of<\/span><span class=\"token operator\">&#061;<\/span>data.img <span class=\"token assign-left variable\">bs<\/span><span class=\"token operator\">&#061;<\/span>8k <span class=\"token assign-left variable\">count<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token number\">10240<\/span> <span class=\"token comment\">#\u521b\u5efa\u7a7a\u767d\u6587\u4ef6<\/span><br \/>\n<span class=\"token function\">mkfs<\/span> <span class=\"token parameter variable\">-t<\/span> ext4 .\/data.img <span class=\"token comment\">#\u683c\u5f0f\u5316\u7a7a\u767d\u6587\u4ef6<\/span><\/p>\n<p>\u5b8c\u6210\u6302\u8f7d\u9694\u79bb<\/p>\n<p><span class=\"token function\">mkdir<\/span> <span class=\"token parameter variable\">-p<\/span> test\/mt1 <span class=\"token comment\">#\u521b\u5efa\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">mount<\/span> <span class=\"token parameter variable\">-t<\/span> ext4 .\/data.img test\/mt1 <span class=\"token comment\">#\u6302\u8f7d\u5230\u76ee\u5f55<\/span><br \/>\n<span class=\"token function\">df<\/span> <span class=\"token parameter variable\">-h<\/span> <span class=\"token comment\">#\u65b0\u5efa\u7a97\u53e3&#xff0c;\u4e24\u7a97\u53e3\u6267\u884c\u8be5\u6307\u4ee4&#xff0c;\u9a8c\u8bc1\u662f\u5426\u5b8c\u6210\u6587\u4ef6\u7cfb\u7edf\u9694\u79bb<\/span><\/p>\n<p>\u6548\u679c&#xff1a; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232012-689e6f2c8dd4b.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/> &#x1f4cc; \u5199\u7ed9\u8bfb\u8005\u7684\u5c0f\u7eb8\u6761 \u2003\u2003\u201c\u8fd9\u4e9b\u6307\u4ee4\u7ec4\u5408\u5c31\u50cf\u53a8\u623f\u91cc\u7684\u8c03\u5473\u7f50\u2014\u2014\u4e0d\u7528\u8bb0\u4f4f\u6bcf\u4e00\u74f6\u7684\u4f4d\u7f6e&#xff0c;\u7528\u7684\u65f6\u5019\u62c9\u5f00\u62bd\u5c49\u968f\u624b\u62ff\u5c31\u597d\u3002 \u2003\u2003\u5efa\u8bae\u628a\u672c\u6587\u4e22\u8fdb\u6536\u85cf\u5939\u5403\u7070&#xff08;\u5076\u5c14\u80fd\u7ffb\u51fa\u6765\u7528\u7684\u624d\u662f\u597d\u5de5\u5177&#xff09;&#xff0c;\u9700\u8981\u65f6Ctrl&#043;F\u4e00\u641c&#xff0c;\u7701\u4e0b\u7684\u65f6\u95f4\u591f\u559d\u676f\u5496\u5561\u5566 \u2615\u201d<\/p>\n<p>\u975e\u5e38\u611f\u8c22\u60a8\u80fd\u8010\u5fc3\u8bfb\u5b8c\u8fd9\u7bc7\u6587\u7ae0\u3002\u5018\u82e5\u60a8\u4ece\u4e2d\u6709\u6240\u6536\u83b7&#xff0c;\u8fd8\u671b\u591a\u591a\u652f\u6301\u5440&#xff01; <img decoding=\"async\" src=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232013-689e6f2d55e20.png\" alt=\"\u5728\u8fd9\u91cc\u63d2\u5165\u56fe\u7247\u63cf\u8ff0\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.3k\u6b21\uff0c\u70b9\u8d5e53\u6b21\uff0c\u6536\u85cf61\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86Linux\u7cfb\u7edf\u7ba1\u7406\u548c\u9694\u79bb\u76f8\u5173\u7684\u91cd\u8981\u547d\u4ee4\u4e0e\u6982\u5ff5\uff1a Namespace\uff1aLinux\u5185\u6838\u8d44\u6e90\u9694\u79bb\u673a\u5236\uff0c\u901a\u8fc7\u4e0d\u540cnamespace\u5b9e\u73b0\u8fdb\u7a0b\u95f4\u7684\u8d44\u6e90\u72ec\u7acb\uff0c\u652f\u6301IPC\u3001\u7f51\u7edc\u3001PID\u7b49\u9694\u79bb\u7c7b\u578b\uff0c\u63d0\u4f9bAPI\u5982clone()\u3001setns()\u548cunshare()\u3002 dd\u547d\u4ee4\uff1a\u6570\u636e\u8f6c\u6362\u5de5\u5177\uff0c\u652f\u6301\u6587\u4ef6\u590d\u5236\u3001\u683c\u5f0f\u8f6c\u6362\u53ca\u5927\u5c0f\u5199\u8f6c\u6362\uff0c\u5e38\u7528\u53c2\u6570\u5305\u62ecif\uff08\u8f93\u5165\u6587\u4ef6\uff09\u3001of\uff08\u8f93\u51fa\u6587\u4ef6\uff09\u548cbs\uff08\u5757\u5927\u5c0f\uff09\u3002 mkfs\u547d\u4ee4\uff1a\u7528\u4e8e\u683c\u5f0f\u5316\u5b58\u50a8\u8bbe\u5907\u4e3a\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\uff08\u5982ext4\uff09\uff0c\u793a\u4f8b\u6f14\u793a\u4e86\u955c\u50cf\u6587\u4ef6\u7684\u683c\u5f0f\u5316\u64cd\u4f5c\u3002 df\u547d\u4ee4\uff1a\u67e5\u770b\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\uff0c\u652f\u6301\u6309<\/p>\n","protected":false},"author":2,"featured_media":57035,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,58,1022,1465,2032,43,188,442],"topic":[],"class_list":{"0":"post-57049","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","6":"hentry","7":"category-server","8":"tag-docker","9":"tag-linux","11":"tag-1465","12":"tag-2032","13":"tag-43","14":"tag-188","15":"tag-442"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/57049.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.3k\u6b21\uff0c\u70b9\u8d5e53\u6b21\uff0c\u6536\u85cf61\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86Linux\u7cfb\u7edf\u7ba1\u7406\u548c\u9694\u79bb\u76f8\u5173\u7684\u91cd\u8981\u547d\u4ee4\u4e0e\u6982\u5ff5\uff1a Namespace\uff1aLinux\u5185\u6838\u8d44\u6e90\u9694\u79bb\u673a\u5236\uff0c\u901a\u8fc7\u4e0d\u540cnamespace\u5b9e\u73b0\u8fdb\u7a0b\u95f4\u7684\u8d44\u6e90\u72ec\u7acb\uff0c\u652f\u6301IPC\u3001\u7f51\u7edc\u3001PID\u7b49\u9694\u79bb\u7c7b\u578b\uff0c\u63d0\u4f9bAPI\u5982clone()\u3001setns()\u548cunshare()\u3002 dd\u547d\u4ee4\uff1a\u6570\u636e\u8f6c\u6362\u5de5\u5177\uff0c\u652f\u6301\u6587\u4ef6\u590d\u5236\u3001\u683c\u5f0f\u8f6c\u6362\u53ca\u5927\u5c0f\u5199\u8f6c\u6362\uff0c\u5e38\u7528\u53c2\u6570\u5305\u62ecif\uff08\u8f93\u5165\u6587\u4ef6\uff09\u3001of\uff08\u8f93\u51fa\u6587\u4ef6\uff09\u548cbs\uff08\u5757\u5927\u5c0f\uff09\u3002 mkfs\u547d\u4ee4\uff1a\u7528\u4e8e\u683c\u5f0f\u5316\u5b58\u50a8\u8bbe\u5907\u4e3a\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\uff08\u5982ext4\uff09\uff0c\u793a\u4f8b\u6f14\u793a\u4e86\u955c\u50cf\u6587\u4ef6\u7684\u683c\u5f0f\u5316\u64cd\u4f5c\u3002 df\u547d\u4ee4\uff1a\u67e5\u770b\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\uff0c\u652f\u6301\u6309\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/57049.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2025-08-14T23:20:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232001-689e6f21d7378.png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/57049.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/57049.html\",\"name\":\"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2025-08-14T23:20:14+00:00\",\"dateModified\":\"2025-08-14T23:20:14+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/57049.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/57049.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/57049.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/57049.html","og_locale":"zh_CN","og_type":"article","og_title":"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6587\u7ae0\u6d4f\u89c8\u9605\u8bfb2.3k\u6b21\uff0c\u70b9\u8d5e53\u6b21\uff0c\u6536\u85cf61\u6b21\u3002\u672c\u6587\u4ecb\u7ecd\u4e86Linux\u7cfb\u7edf\u7ba1\u7406\u548c\u9694\u79bb\u76f8\u5173\u7684\u91cd\u8981\u547d\u4ee4\u4e0e\u6982\u5ff5\uff1a Namespace\uff1aLinux\u5185\u6838\u8d44\u6e90\u9694\u79bb\u673a\u5236\uff0c\u901a\u8fc7\u4e0d\u540cnamespace\u5b9e\u73b0\u8fdb\u7a0b\u95f4\u7684\u8d44\u6e90\u72ec\u7acb\uff0c\u652f\u6301IPC\u3001\u7f51\u7edc\u3001PID\u7b49\u9694\u79bb\u7c7b\u578b\uff0c\u63d0\u4f9bAPI\u5982clone()\u3001setns()\u548cunshare()\u3002 dd\u547d\u4ee4\uff1a\u6570\u636e\u8f6c\u6362\u5de5\u5177\uff0c\u652f\u6301\u6587\u4ef6\u590d\u5236\u3001\u683c\u5f0f\u8f6c\u6362\u53ca\u5927\u5c0f\u5199\u8f6c\u6362\uff0c\u5e38\u7528\u53c2\u6570\u5305\u62ecif\uff08\u8f93\u5165\u6587\u4ef6\uff09\u3001of\uff08\u8f93\u51fa\u6587\u4ef6\uff09\u548cbs\uff08\u5757\u5927\u5c0f\uff09\u3002 mkfs\u547d\u4ee4\uff1a\u7528\u4e8e\u683c\u5f0f\u5316\u5b58\u50a8\u8bbe\u5907\u4e3a\u6307\u5b9a\u6587\u4ef6\u7cfb\u7edf\uff08\u5982ext4\uff09\uff0c\u793a\u4f8b\u6f14\u793a\u4e86\u955c\u50cf\u6587\u4ef6\u7684\u683c\u5f0f\u5316\u64cd\u4f5c\u3002 df\u547d\u4ee4\uff1a\u67e5\u770b\u78c1\u76d8\u4f7f\u7528\u60c5\u51b5\uff0c\u652f\u6301\u6309","og_url":"https:\/\/www.wsisp.com\/helps\/57049.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2025-08-14T23:20:14+00:00","og_image":[{"url":"https:\/\/www.wsisp.com\/helps\/wp-content\/uploads\/2025\/08\/20250814232001-689e6f21d7378.png"}],"author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"4 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/57049.html","url":"https:\/\/www.wsisp.com\/helps\/57049.html","name":"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2025-08-14T23:20:14+00:00","dateModified":"2025-08-14T23:20:14+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/57049.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/57049.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/57049.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"Linux\u7cfb\u7edfNamespace\u9694\u79bb\u5b9e\u6218\uff1add\/mkfs\/mount\/unshare\u547d\u4ee4\u7ec4\u5408\u5e94\u7528"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/57049","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=57049"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/57049\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media\/57035"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=57049"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=57049"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=57049"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=57049"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}