{"id":7719,"date":"2020-05-17T20:32:15","date_gmt":"2020-05-17T12:32:15","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=7719"},"modified":"2020-05-17T20:32:16","modified_gmt":"2020-05-17T12:32:16","slug":"mkfs-ext2","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/mkfs-ext2","title":{"rendered":"mkfs.ext2\u547d\u4ee4 – \u5efa\u7acbext2\u6587\u4ef6\u7cfb\u7edf"},"content":{"rendered":"\n
mkfs.ext2\u547d\u4ee4\u4e0emke2fs\u547d\u4ee4\u529f\u80fd\u76f8\u540c\u3002\u90fd\u662f\u7528\u6765\u5efa\u7acbext2\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n\n\n\n
Ext2\u6587\u4ef6\u7cfb\u7edf\u4f7f\u7528\u4ee5inode\u4e3a\u57fa\u7840\u7684\u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n\n\n\n
Ext2\u6587\u4ef6\u7cfb\u7edf\u4e00\u5f00\u59cb\u5c06inode\u4e0eblock\u89c4\u5212\u597d\u4e86\uff0c\u9664\u975e\u91cd\u65b0\u683c\u5f0f\u5316\uff0c\u5426\u5219inode\u4e0eblock\u56fa\u5b9a\u540e\u5c31\u4e0d\u518d\u53d8\u52a8\uff0c\u4f46\u662f\u5f53inode\u4e0eblock\u6570\u91cf\u8fc7\u591a\u65f6\uff0c\u5c31\u4e0d\u6613\u4e8e\u7ba1\u7406\u3002\u56e0\u6b64Ext2\u5728\u683c\u5f0f\u5316\u7684\u65f6\u5019\u57fa\u672c\u4e0a\u662f\u533a\u5206\u4e3a\u591a\u4e2a\u5757\u7ec4\uff08block group\uff09\uff0c\u6bcf\u4e2a\u5757\u7ec4\u90fd\u6709\u72ec\u7acb\u7684\/inode\/block\/superblock\u7cfb\u7edf\u3002<\/p>\n\n\n\n
\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>mkfs.ext2 [\u53c2\u6570]<\/p>\n\n\n\n \u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n \u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n \u521b\u5efa\u6307\u5b9a\u7684ext2\u6587\u4ef6\u7cfb\u7edf:<\/p>\n\n\n\n \u68c0\u67e5\u662f\u5426\u6709\u635f\u574f\u7684\u533a\u5757:<\/p>\n\n\n\n \u5f3a\u884c\u6267\u884cmkfs.ext2\uff1a<\/p>\n\n\n\n mkfs.ext2\u547d\u4ee4\u4e0emke2fs\u547d\u4ee4\u529f\u80fd\u76f8\u540c\u3002\u90fd\u662f\u7528\u6765\u5efa\u7acbext2\u6587\u4ef6\u7cfb\u7edf\u3002 Ext2\u6587\u4ef6\u7cfb\u7edf\u4f7f\u7528\u4ee5ino […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7719"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=7719"}],"version-history":[{"count":3,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7719\/revisions"}],"predecessor-version":[{"id":7730,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/7719\/revisions\/7730"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=7719"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=7719"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=7719"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}-b<\/td> \u6307\u5b9a\u533a\u5757\u5927\u5c0f\uff0c\u5355\u4f4d\u4e3a\u5b57\u8282<\/td><\/tr> -c<\/td> \u68c0\u67e5\u662f\u5426\u6709\u635f\u574f\u7684\u533a\u5757<\/td><\/tr> -F<\/td> \u4e0d\u7ba1\u6307\u5b9a\u7684\u8bbe\u5907\u4e3a\u4f55\uff0c\u5f3a\u5236\u6267\u884cmkfs.ext2<\/td><\/tr> -M<\/td> \u8bb0\u5f55\u6700\u540e\u4e00\u6b21\u6302\u5165\u7684\u76ee\u5f55<\/td><\/tr> -q<\/td> \u6267\u884c\u65f6\u4e0d\u663e\u793a\u4efb\u4f55\u4fe1\u606f<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n [root@linuxcool ~]# mkfs.ext2 -q \/dev\/hda1<\/pre>\n\n\n\n
[root@linuxcool ~]# mkfs.ext2 -c<\/pre>\n\n\n\n
[root@linuxcool ~]# mkfs.ext2 -F<\/pre>\n","protected":false},"excerpt":{"rendered":"