{"id":157552,"date":"2019-09-05T11:47:54","date_gmt":"2019-09-05T03:47:54","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=157552"},"modified":"2019-08-30T09:49:09","modified_gmt":"2019-08-30T01:49:09","slug":"extended-linux","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/extended-linux.html","title":{"rendered":"\u5bfc\u89c8Linux \u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\nLinux \u6587\u4ef6\u7cfb\u7edf\u591a\u5e74\u6765\u5728\u4e0d\u65ad\u53d1\u5c55\uff0c\u8ba9\u6211\u4eec\u6765\u770b\u4e00\u4e0b\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\u867d\u7136\u5bf9\u4e8e\u666e\u901a\u7528\u6237\u6765\u8bf4\u53ef\u80fd\u5e76\u4e0d\u660e\u663e\uff0c\u4f46\u5728\u8fc7\u53bb\u5341\u5e74\u5de6\u53f3\u7684\u65f6\u95f4\u91cc\uff0cLinux \u6587\u4ef6\u7cfb\u7edf\u5df2\u7ecf\u53d1\u751f\u4e86\u663e\u8457\u7684\u53d8\u5316\uff0c\u8fd9\u4f7f\u5b83\u4eec\u80fd\u591f\u66f4\u597d\u5bf9\u6297\u635f\u574f\u548c\u6027\u80fd\u95ee\u9898\u3002<\/p>\n

\u5982\u4eca\u5927\u591a\u6570 Linux \u7cfb\u7edf\u4f7f\u7528\u540d\u4e3a ext4 \u7684\u6587\u4ef6\u7cfb\u7edf\u3002 \u201cext\u201d \u4ee3\u8868\u201c\u6269\u5c55extended\u201d\uff0c\u201c4\u201d \u8868\u793a\u8fd9\u662f\u6b64\u6587\u4ef6\u7cfb\u7edf\u7684\u7b2c 4 \u4ee3\u3002\u968f\u7740\u65f6\u95f4\u7684\u63a8\u79fb\u6dfb\u52a0\u7684\u529f\u80fd\u5305\u62ec\uff1a\u80fd\u591f\u63d0\u4f9b\u8d8a\u6765\u8d8a\u5927\u7684\u6587\u4ef6\u7cfb\u7edf\uff08\u76ee\u524d\u5927\u5230 1,000,000 TiB\uff09\u548c\u66f4\u5927\u7684\u6587\u4ef6\uff08\u9ad8\u8fbe 16 TiB\uff09\uff0c\u66f4\u6297\u7cfb\u7edf\u5d29\u6e83\uff0c\u66f4\u5c11\u788e\u7247\uff08\u5c06\u5355\u4e2a\u6587\u4ef6\u5206\u6563\u4e3a\u5b58\u5728\u591a\u4e2a\u4f4d\u7f6e\u7684\u5757\uff09\u4ee5\u63d0\u9ad8\u6027\u80fd\u3002<\/p>\n

ext4 \u6587\u4ef6\u7cfb\u7edf\u8fd8\u5e26\u6765\u4e86\u5bf9\u6027\u80fd\u3001\u53ef\u4f38\u7f29\u6027\u548c\u5bb9\u91cf\u7684\u5176\u4ed6\u6539\u8fdb\u3002\u5b9e\u73b0\u4e86\u5143\u6570\u636e\u548c\u65e5\u5fd7\u6821\u9a8c\u548c\u4ee5\u589e\u5f3a\u53ef\u9760\u6027\u3002\u65f6\u95f4\u6233\u73b0\u5728\u53ef\u4ee5\u8ddf\u8e2a\u7eb3\u79d2\u7ea7\u53d8\u5316\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u5bf9\u6587\u4ef6\u6253\u6233\uff08\u4f8b\u5982\uff0c\u6587\u4ef6\u521b\u5efa\u548c\u6700\u540e\u66f4\u65b0\u65f6\u95f4\uff09\u3002\u5e76\u4e14\uff0c\u5728\u65f6\u95f4\u6233\u5b57\u6bb5\u4e2d\u589e\u52a0\u4e86\u4e24\u4e2a\u4f4d\uff0c2038 \u5e74\u7684\u95ee\u9898\uff08\u5b58\u50a8\u65e5\u671f\/\u65f6\u95f4\u7684\u5b57\u6bb5\u5c06\u4ece\u6700\u5927\u503c\u7ffb\u8f6c\u5230\u96f6\uff09\u5df2\u88ab\u63a8\u8fdf\u5230\u4e86 400 \u591a\u5e74\u4e4b\u540e\uff08\u5230 2446\uff09\u3002<\/p>\n

\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b<\/strong><\/div>\n

\u8981\u786e\u5b9a Linux \u7cfb\u7edf\u4e0a\u6587\u4ef6\u7cfb\u7edf\u7684\u7c7b\u578b\uff0c\u8bf7\u4f7f\u7528 df <\/span>\u547d\u4ee4\u3002\u4e0b\u9762\u663e\u793a\u7684\u547d\u4ee4\u4e2d\u7684 -T <\/span>\u9009\u9879\u663e\u793a\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3002 -h<\/span> \u663e\u793a\u201c\u6613\u8bfb\u7684\u201d\u78c1\u76d8\u5927\u5c0f\u3002\u6362\u53e5\u8bdd\u8bf4\uff0c\u8c03\u6574\u62a5\u544a\u7684\u5355\u4f4d\uff08\u5982 M \u548c G\uff09\uff0c\u4f7f\u4eba\u4eec\u66f4\u597d\u5730\u7406\u89e3\u3002<\/p>\n

$ df -hT | head -10\r\nFilesystem     Type      Size  Used Avail Use% Mounted on\r\nudev           devtmpfs  2.9G     0  2.9G   0% \/dev\r\ntmpfs          tmpfs     596M  1.5M  595M   1% \/run\r\n\/dev\/sda1      ext4      110G   50G   55G  48% \/\r\n\/dev\/sdb2      ext4      457G  642M  434G   1% \/apps\r\ntmpfs          tmpfs     3.0G     0  3.0G   0% \/dev\/shm\r\ntmpfs          tmpfs     5.0M  4.0K  5.0M   1% \/run\/lock\r\ntmpfs          tmpfs     3.0G     0  3.0G   0% \/sys\/fs\/cgroup\r\n\/dev\/loop0     squashfs   89M   89M     0 100% \/snap\/core\/7270\r\n\/dev\/loop2     squashfs  142M  142M     0 100% \/snap\/hexchat\/42\r\n<\/pre>\n

\u8bf7\u6ce8\u610f\uff0c\/<\/span>\uff08\u6839\uff09\u548c \/apps<\/span> \u7684\u6587\u4ef6\u7cfb\u7edf\u90fd\u662f ext4\uff0c\u800c \/dev<\/span> \u662f devtmpfs \u6587\u4ef6\u7cfb\u7edf\uff08\u4e00\u4e2a\u7531\u5185\u6838\u586b\u5145\u7684\u81ea\u52a8\u5316\u8bbe\u5907\u8282\u70b9\uff09\u3002\u5176\u4ed6\u7684\u6587\u4ef6\u7cfb\u7edf\u663e\u793a\u4e3a tmpfs\uff08\u9a7b\u7559\u5728\u5185\u5b58\u548c\/\u6216\u4ea4\u6362\u5206\u533a\u4e2d\u7684\u4e34\u65f6\u6587\u4ef6\u7cfb\u7edf\uff09\u548c squashfs\uff08\u53ea\u8bfb\u538b\u7f29\u6587\u4ef6\u7cfb\u7edf\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u7528\u4e8e\u5feb\u7167\u5305\uff09\u3002<\/p>\n

\u8fd8\u6709 proc \u6587\u4ef6\u7cfb\u7edf\uff0c\u7528\u4e8e\u5b58\u50a8\u6b63\u5728\u8fd0\u884c\u7684\u8fdb\u7a0b\u7684\u4fe1\u606f\u3002<\/p>\n

$ df -T \/proc\r\nFilesystem     Type 1K-blocks  Used Available Use% Mounted on\r\nproc           proc         0     0         0    - \/proc\r\n<\/pre>\n

\u5f53\u4f60\u5728\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u4e2d\u6e38\u89c8\u65f6\uff0c\u53ef\u80fd\u4f1a\u9047\u5230\u8bb8\u591a\u5176\u4ed6\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3002\u4f8b\u5982\uff0c\u5f53\u4f60\u79fb\u52a8\u5230\u76ee\u5f55\u4e2d\u5e76\u60f3\u4e86\u89e3\u5b83\u7684\u6587\u4ef6\u7cfb\u7edf\u65f6\uff0c\u53ef\u4ee5\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

$ cd \/dev\/mqueue; df -T .\r\nFilesystem     Type   1K-blocks  Used Available Use% Mounted on\r\nmqueue         mqueue         0     0         0    - \/dev\/mqueue\r\n$ cd \/sys; df -T .\r\nFilesystem     Type  1K-blocks  Used Available Use% Mounted on\r\nsysfs          sysfs         0     0         0    - \/sys\r\n$ cd \/sys\/kernel\/security; df -T .\r\nFilesystem     Type       1K-blocks  Used Available Use% Mounted on\r\nsecurityfs     securityfs         0     0         0    - \/sys\/kernel\/security\r\n<\/pre>\n

\u4e0e\u5176\u4ed6 Linux \u547d\u4ee4\u4e00\u6837\uff0c\u8fd9\u91cc\u7684 . <\/span>\u4ee3\u8868\u6574\u4e2a\u6587\u4ef6\u7cfb\u7edf\u7684\u5f53\u524d\u4f4d\u7f6e\u3002<\/p>\n

\u8fd9\u4e9b\u548c\u5176\u4ed6\u72ec\u7279\u7684\u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u4e86\u4e00\u4e9b\u7279\u6b8a\u529f\u80fd\u3002\u4f8b\u5982\uff0csecurityfs \u63d0\u4f9b\u652f\u6301\u5b89\u5168\u6a21\u5757\u7684\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n

Linux \u6587\u4ef6\u7cfb\u7edf\u9700\u8981\u80fd\u591f\u62b5\u6297\u635f\u574f\uff0c\u80fd\u591f\u627f\u53d7\u7cfb\u7edf\u5d29\u6e83\u5e76\u63d0\u4f9b\u5feb\u901f\u3001\u53ef\u9760\u7684\u6027\u80fd\u3002\u7531\u51e0\u4ee3 ext \u6587\u4ef6\u7cfb\u7edf\u548c\u65b0\u4e00\u4ee3\u4e13\u7528\u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u7684\u6539\u8fdb\u4f7f Linux \u7cfb\u7edf\u66f4\u6613\u4e8e\u7ba1\u7406\u548c\u66f4\u53ef\u9760\u3002<\/p>\n


\n

via:\u00a0https:\/\/www.networkworld.com\/article\/3432990\/a-guided-tour-of-linux-file-system-types.html<\/a><\/p>\n

\u4f5c\u8005\uff1aSandra Henry-Stocker<\/a>\u00a0\u9009\u9898\uff1alujun9972<\/a>\u00a0\u8bd1\u8005\uff1ageekpi<\/a>\u00a0\u6821\u5bf9\uff1awxy<\/a><\/p>\n

\u672c\u6587\u7531\u00a0LCTT<\/a>\u00a0\u539f\u521b\u7f16\u8bd1\uff0cLinux\u4e2d\u56fd<\/a>\u00a0\u8363\u8a89\u63a8\u51fa<\/p>\n","protected":false},"excerpt":{"rendered":"

\u867d\u7136\u5bf9\u4e8e\u666e\u901a\u7528\u6237\u6765\u8bf4\u53ef\u80fd\u5e76\u4e0d\u660e\u663e\uff0c\u4f46\u5728\u8fc7\u53bb\u5341\u5e74\u5de6\u53f3\u7684\u65f6\u95f4\u91cc\uff0cLinux \u6587\u4ef6\u7cfb\u7edf\u5df2\u7ecf\u53d1\u751f\u4e86\u663e\u8457\u7684\u53d8\u5316\uff0c\u8fd9\u4f7f\u5b83\u4eec […]<\/p>\n","protected":false},"author":1890,"featured_media":157553,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-157552","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/157552","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/1890"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=157552"}],"version-history":[{"count":2,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/157552\/revisions"}],"predecessor-version":[{"id":157582,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/157552\/revisions\/157582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/157553"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=157552"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=157552"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=157552"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}