\u7ae0\u8282\u7b80\u8ff0\uff1a<\/strong><\/span><\/p>\n
Linux\u7cfb\u7edf\u4e2d\u9887\u5177\u7279\u8272\u7684\u6587\u4ef6\u5b58\u50a8\u7ed3\u6784\u5e38\u5e38\u641e\u5f97\u65b0\u624b\u5934\u660f\u8111\u6da8\uff0c\u672c\u7ae0\u5c06\u4eceLinux\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u5b58\u50a8\u7ed3\u6784\u5165\u624b\uff0c\u8bb2\u89e3\u6587\u4ef6\u7cfb\u7edf\u5c42\u6b21\u6807\u51c6\uff08Filesystem Hierarchy Standard\uff0cFHS\uff09\u3001udev\u786c\u4ef6\u547d\u540d\u89c4\u5219\u4ee5\u53ca\u786c\u76d8\u8bbe\u5907\u7684\u5de5\u4f5c\u539f\u7406\u3002<\/p>\n
\u4e3a\u4e86\u5e2e\u52a9\u8bfb\u8005\u66f4\u597d\u5730\u7406\u89e3\u6587\u4ef6\u7cfb\u7edf\u7684\u4f5c\u7528\uff0c\u5218\u9044\u8001\u5e08\u5c06\u5728\u672c\u7ae0\u8be6\u7ec6\u5206\u6790Linux\u7cfb\u7edf\u4e2d\u5e38\u89c1\u7684Ext3\u3001Ext4\u548cXFS\u6587\u4ef6\u7cfb\u7edf\u7684\u4e0d\u540c\u4e4b\u5904\uff0c\u5e76\u5e26\u9886\u8bfb\u8005\u91cd\u70b9\u7ec3\u4e60\u786c\u76d8\u8bbe\u5907\u5206\u533a\u3001\u683c\u5f0f\u5316\u53ca\u6302\u8f7d\u7b49\u5e38\u89c1\u7684\u786c\u76d8\u7ba1\u7406\u64cd\u4f5c\uff0c\u4ece\u800c\u719f\u7ec3\u638c\u63e1\u6587\u4ef6\u7cfb\u7edf\u7684\u4f7f\u7528\u65b9\u6cd5\u3002<\/p>\n
\u5728\u592f\u5b9e\u7406\u8bba\u57fa\u7840\u540e\uff0c\u6211\u4eec\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u90e8\u7f72\u4ea4\u6362\uff08SWAP\uff09\u5206\u533a\u3001\u914d\u7f6e\u78c1\u76d8\u914d\u989d\u670d\u52a1\uff08quota\uff09\u4ee5\u53ca\u4f7f\u7528ln\u547d\u4ee4\u521b\u5efa\u8f6f\u94fe\u63a5\u548c\u786c\u94fe\u63a5\u3002\u901a\u8fc7\u672c\u7ae0\u7684\u5b66\u4e60\uff0c\u8bfb\u8005\u5c06\u6df1\u5165\u7406\u89e3Linux\u548cWindows\u7cfb\u7edf\u4e2d\u7684\u78c1\u76d8\u5b58\u50a8\u548c\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n
\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u76ee\u5f55\u3001\u5b57\u7b26\u8bbe\u5907\u3001\u5957\u63a5\u5b57\u3001\u786c\u76d8\u3001\u5149\u9a71\u3001\u6253\u5370\u673a\u7b49\u90fd\u88ab\u62bd\u8c61\u6210\u6587\u4ef6\u5f62\u5f0f\uff0c\u5373\u5218\u9044\u8001\u5e08\u4e00\u76f4\u5f3a\u8c03\u7684\u201cLinux\u7cfb\u7edf\u4e2d\u4e00\u5207\u90fd\u662f\u6587\u4ef6\u201d\u3002\u65e2\u7136\u5e73\u65f6\u6211\u4eec\u6253\u4ea4\u9053\u7684\u90fd\u662f\u6587\u4ef6\uff0c\u90a3\u4e48\u53c8\u5e94\u8be5\u5982\u4f55\u627e\u5230\u5b83\u4eec\u5462\uff1f<\/p>\n
\u5728Windows\u64cd\u4f5c\u7cfb\u7edf\u4e2d\uff0c\u60f3\u8981\u627e\u5230\u4e00\u4e2a\u6587\u4ef6\uff0c\u8981\u4f9d\u6b21\u8fdb\u5165\u8be5\u6587\u4ef6\u6240\u5728\u7684\u78c1\u76d8\u5206\u533a\uff08\u4e5f\u53eb\u76d8\u7b26\uff09\uff0c\u7136\u540e\u518d\u8fdb\u5165\u8be5\u5206\u533a\u4e0b\u7684\u5177\u4f53\u76ee\u5f55\uff0c\u6700\u7ec8\u627e\u5230\u8fd9\u4e2a\u6587\u4ef6\u3002\u4f46\u662f\u5728Linux\u7cfb\u7edf\u4e2d\u5e76\u4e0d\u5b58\u5728C\u3001D\u3001E\u3001F\u7b49\u76d8\u7b26\uff0c\u4e00\u5207\u6587\u4ef6\u90fd\u662f\u4ece\u201c\u6839\u201d\u76ee\u5f55\uff08\/\uff09\u5f00\u59cb\u7684\uff0c\u5e76\u6309\u7167\u6587\u4ef6\u7cfb\u7edf\u5c42\u6b21\u6807\u51c6\uff08FHS\uff09\u91c7\u7528\u5012\u6811\u72b6\u7ed3\u6784\u6765\u5b58\u653e\u6587\u4ef6\uff0c\u5e76\u5b9a\u4e49\u4e86\u5e38\u89c1\u76ee\u5f55\u7684\u7528\u9014\u3002<\/p>\n
Linux\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u548c\u76ee\u5f55\u540d\u79f0\u662f\u4e25\u683c\u533a\u5206\u5927\u5c0f\u5199\u7684\u3002\u4f8b\u5982\uff0croot\u3001rOOt\u3001Root\u3001rooT\u5747\u88ab\u89c6\u4e3a\u4e0d\u540c\u7684\u76ee\u5f55\uff0c\u6b64\u5916\uff0c\u6587\u4ef6\u540d\u79f0\u4e2d\u4e0d\u5f97\u5305\u542b\u659c\u6760\uff08\/\uff09\u3002Linux\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u5b58\u50a8\u7ed3\u6784\u5982\u56fe6-1\u6240\u793a\u3002<\/p>\n
<\/p>\n
\u56fe6-1\u00a0 Linux\u7cfb\u7edf\u4e2d\u7684\u6587\u4ef6\u5b58\u50a8\u7ed3\u6784<\/p>\n
\u524d\u6587\u63d0\u5230\u7684FHS\u662f\u6839\u636e\u65e0\u6570Linux\u7cfb\u7edf\u7528\u6237\u548c\u5f00\u53d1\u8005\u7684\u7ecf\u9a8c\u603b\u7ed3\u51fa\u6765\u7684\uff0c\u662f\u7528\u6237\u5728Linux\u7cfb\u7edf\u4e2d\u5b58\u50a8\u6587\u4ef6\u65f6\u9700\u8981\u9075\u5b88\u7684\u89c4\u5219\uff0c\u7528\u4e8e\u6307\u5bfc\u7528\u6237\u5e94\u8be5\u628a\u6587\u4ef6\u4fdd\u5b58\u5230\u4ec0\u4e48\u4f4d\u7f6e\uff0c\u4ee5\u53ca\u544a\u8bc9\u7528\u6237\u5e94\u8be5\u5728\u4f55\u5904\u627e\u5230\u6240\u9700\u7684\u6587\u4ef6\u3002\u4f46\u662f\uff0cFHS\u5bf9\u4e8e\u7528\u6237\u6765\u8bb2\u53ea\u80fd\u7b97\u662f\u4e00\u79cd\u9053\u5fb7\u4e0a\u7684\u7ea6\u675f\uff0c\u6709\u4e9b\u7528\u6237\u5c31\u662f\u61d2\u5f97\u9075\u5b88\uff0c\u4f9d\u7136\u4f1a\u628a\u6587\u4ef6\u5230\u5904\u4e71\u653e\uff0c\u6709\u4e9b\u751a\u81f3\u4ece\u6765\u6ca1\u6709\u542c\u8bf4\u8fc7\u5b83\u3002\u8fd9\u91cc\u5e76\u4e0d\u662f\u53f7\u53ec\u5404\u4f4d\u8bfb\u8005\u53bb\u8c34\u8d23\u4ed6\u4eec\uff0c\u800c\u662f\u5efa\u8bae\u5927\u5bb6\u8981\u7075\u6d3b\u8fd0\u7528\u6240\u5b66\u7684\u77e5\u8bc6\uff0c\u5343\u4e07\u4e0d\u8981\u8ba4\u51c6\u8fd9\u4e2aFHS\u534f\u5b9a\u53ea\u8bb2\u6b7b\u9053\u7406\uff0c\u4e0d\u7136\u5403\u4e8f\u7684\u53ef\u5c31\u662f\u81ea\u5df1\u4e86\u3002\u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u6700\u5e38\u89c1\u7684\u76ee\u5f55\u4ee5\u53ca\u6240\u5bf9\u5e94\u7684\u5b58\u653e\u5185\u5bb9\u5982\u88686-1\u6240\u793a\u3002<\/p>\n
\u88686-1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Linux\u7cfb\u7edf\u4e2d\u5e38\u89c1\u7684\u76ee\u5f55\u540d\u79f0\u4ee5\u53ca\u76f8\u5e94\u5185\u5bb9<\/p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
\u76ee\u5f55\u540d\u79f0<\/td>\n | \u5e94\u653e\u7f6e\u6587\u4ef6\u7684\u5185\u5bb9<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/boot<\/td>\n | \u7cfb\u7edf\u542f\u52a8\u6587\u4ef6\uff0c\u5982\u5185\u6838\u548c\u542f\u52a8\u83dc\u5355<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/dev<\/td>\n | \u8bbe\u5907\u6587\u4ef6\uff0c\u4ee3\u8868\u7cfb\u7edf\u4e2d\u7684\u786c\u4ef6\u8bbe\u5907<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/etc<\/td>\n | \u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u548c\u542f\u52a8\u811a\u672c<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/root<\/td>\n | \u7ba1\u7406\u5458\u7684\u4e2a\u4eba\u4e3b\u76ee\u5f55<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/home<\/td>\n | \u7528\u6237\u7684\u4e2a\u4eba\u4e3b\u76ee\u5f55<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/bin<\/td>\n | \u57fa\u672c\u7528\u6237\u547d\u4ee4\uff0c\u53ef\u5728\u5355\u7528\u6237\u6a21\u5f0f\u4e0b\u4f7f\u7528<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/lib<\/td>\n | \u7cfb\u7edf\u5171\u4eab\u5e93\uff0c\u4f9b\/bin\u548c\/sbin\u547d\u4ee4\u4f7f\u7528<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/sbin<\/td>\n | \u7cfb\u7edf\u7ba1\u7406\u547d\u4ee4\uff0c\u4f9b\u7ba1\u7406\u5458\u4f7f\u7528<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/media<\/td>\n | \u6302\u8f7d\u70b9\u76ee\u5f55\uff0c\u7528\u4e8e\u53ef\u79fb\u52a8\u8bbe\u5907<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/opt<\/td>\n | \u7b2c\u4e09\u65b9\u5e94\u7528\u8f6f\u4ef6\u5305<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/srv<\/td>\n | \u670d\u52a1\u6570\u636e\u76ee\u5f55\uff0c\u5b58\u653e\u7f51\u7edc\u670d\u52a1\u6570\u636e<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/tmp<\/td>\n | \u4e34\u65f6\u6587\u4ef6\u76ee\u5f55\uff0c\u6240\u6709\u7528\u6237\u5747\u53ef\u8bbf\u95ee<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/proc<\/td>\n | \u865a\u62df\u6587\u4ef6\u7cfb\u7edf\uff0c\u63d0\u4f9b\u8fdb\u7a0b\u548c\u5185\u6838\u4fe1\u606f<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/usr\/local<\/td>\n | \u672c\u5730\u5b89\u88c5\u7684\u8f6f\u4ef6\u548c\u5e94\u7528\u7a0b\u5e8f<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/usr\/sbin<\/td>\n | \u7cfb\u7edf\u7ba1\u7406\u5458\u4f7f\u7528\u7684\u975e\u57fa\u672c\u7ba1\u7406\u547d\u4ee4<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/usr\/share<\/td>\n | \u5171\u4eab\u6570\u636e\uff0c\u5982\u6587\u6863\u548c\u5e2e\u52a9\u6587\u4ef6<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/var<\/td>\n | \u52a8\u6001\u6570\u636e\uff0c\u5982\u65e5\u5fd7\u6587\u4ef6\u548c\u4e34\u65f6\u6587\u4ef6<\/td>\n<\/tr>\n | ||||||||||||||||||||||||||||||||||||||||
\/lost+found<\/td>\n | \u6587\u4ef6\u7cfb\u7edf\u6062\u590d\u533a\uff0c\u5b58\u653e\u4e22\u5931\u7684\u6587\u4ef6\u788e\u7247<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n \u5728Linux\u7cfb\u7edf\u4e2d\uff0c\u8fd8\u6709\u4e00\u4e2a\u91cd\u8981\u7684\u6982\u5ff5\u2014\u2014\u8def\u5f84\u3002\u8def\u5f84\u662f\u6307\u5982\u4f55\u5b9a\u4f4d\u5230\u67d0\u4e2a\u6587\u4ef6\uff0c\u5206\u4e3a\u7edd\u5bf9\u8def\u5f84\u548c\u76f8\u5bf9\u8def\u5f84\u3002<\/p>\n \u7edd\u5bf9\u8def\u5f84\u6307\u7684\u662f\u4ece\u6839\u76ee\u5f55\uff08\/\uff09\u5f00\u59cb\u5199\u8d77\u7684\u6587\u4ef6\u6216\u76ee\u5f55\u540d\u79f0\uff0c\u800c\u76f8\u5bf9\u8def\u5f84\u5219\u662f\u76f8\u5bf9\u4e8e\u5f53\u524d\u8def\u5f84\u7684\u5199\u6cd5\u3002\u6211\u4eec\u6765\u770b\u4e0b\u9762\u8fd9\u4e2a\u4f8b\u5b50\uff0c\u4ee5\u5e2e\u52a9\u5927\u5bb6\u7406\u89e3\u3002\u5047\u5982\u6709\u4f4d\u5916\u56fd\u6e38\u5ba2\u6765\u5230\u5317\u4eac\u6f58\u5bb6\u56ed\u65c5\u6e38\uff0c\u5f53\u524d\u5185\u6025\u4f46\u662f\u627e\u4e0d\u5230\u6d17\u624b\u95f4\uff0c\u7279\u610f\u5411\u60a8\u95ee\u8def\uff0c\u90a3\u4e48\u54b1\u4eec\u6709\u4e24\u79cd\u6b63\u786e\u7684\u6307\u8def\u65b9\u6cd5\u3002<\/p>\n
|