{"id":161948,"date":"2019-10-18T12:02:42","date_gmt":"2019-10-18T04:02:42","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=161948"},"modified":"2019-10-22T09:25:42","modified_gmt":"2019-10-22T01:25:42","slug":"linuxdevelopment-and-learning","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/linuxdevelopment-and-learning.html","title":{"rendered":"\u5d4c\u5165\u5f0fLinux\u5f00\u53d1\u5b66\u4e60\u4e4bLinux\u6587\u4ef6\u7cfb\u7edf\u5b66\u4e60"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u64cd\u4f5c\u7cfb\u7edf\u7684\u57fa\u672c\u529f\u80fd\u4e4b\u4e00\u5c31\u662f\u6587\u4ef6\u7ba1\u7406\uff0c\u800c\u6587\u4ef6\u7684\u7ba1\u7406\u662f\u7531\u6587\u4ef6\u7cfb\u7edf\u6765\u5b8c\u6210\u7684\u3002Linux \u652f\u6301\u591a\u79cd\u6587\u4ef6\u7cfb\u7edf\uff0c\u672c\u6587\u6211\u4eec\u5c31\u6765\u8bb2\u89e3 Linux \u4e0b\u7684\u6587\u4ef6\u7cfb\u7edf\u3001\u6587\u4ef6\u7cfb\u7edf\u7c7b\u578b\u3001\u6587\u4ef6\u7cfb\u7edf\u7ed3\u6784\u548c\u6587\u4ef6\u7cfb\u7edf\u76f8\u5173Shell \u547d\u4ee4\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n \u64cd\u4f5c\u7cfb\u7edf\u5c31\u662f\u5904\u7406\u5404\u79cd\u6570\u636e\u7684\uff0c\u8fd9\u4e9b\u6570\u636e\u5728\u786c\u76d8\u4e0a\u5c31\u662f\u4e8c\u8fdb\u5236\uff0c\u4eba\u7c7b\u80af\u5b9a\u4e0d\u80fd\u76f4\u63a5\u770b\u61c2\u8fd9\u4e9b\u4e8c\u8fdb\u5236\u6570\u636e\uff0c\u8981\u6709\u4e00\u4e2a\u7ffb\u8bd1\u5668\uff0c\u5c06\u8fd9\u4e9b\u4e8c\u8fdb\u5236\u7684\u6570\u636e\u8fd8\u539f\u4e3a\u4eba\u7c7b\u80fd\u770b\u61c2\u7684\u6587\u4ef6\u5f62\u5f0f\uff0c\u8fd9\u4e2a\u5de5\u4f5c\u5c31\u662f\u7531\u6587\u4ef6\u7cfb\u7edf\u6765\u5b8c\u6210\u7684\uff0c\u6587\u4ef6\u7cfb\u7edf\u7684\u76ee\u7684\u5c31\u662f\u5b9e\u73b0\u6570\u636e\u7684\u67e5\u8be2\u548c\u5b58\u50a8\uff0c\u7531\u4e8e\u4f7f\u7528\u573a\u5408\u3001\u4f7f\u7528\u73af\u5883\u7684\u4e0d\u540c\uff0cLinux \u6709\u591a\u79cd\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e0d\u540c\u7684\u6587\u4ef6\u7cfb\u7edf\u652f\u6301\u4e0d\u540c\u7684\u4f53\u7cfb\u3002\u6587\u4ef6\u7cfb\u7edf\u662f\u7ba1\u7406\u6570\u636e\u7684\uff0c\u800c\u53ef\u4ee5\u5b58\u50a8\u6570\u636e\u7684\u7269\u7406\u8bbe\u5907\u6709\u786c\u76d8\u3001U \u76d8\u3001SD \u5361\u3001NAND FLASH\u3001NOR FLASH\u3001\u7f51\u7edc\u5b58\u50a8\u8bbe\u5907\u7b49\u3002\u4e0d\u540c\u7684\u5b58\u50a8\u8bbe\u5907\u5176\u7269\u7406\u7ed3\u6784\u4e0d\u540c\uff0c\u4e0d\u540c\u7684\u7269\u7406\u7ed3\u6784\u5c31\u9700\u8981\u4e0d\u540c\u7684\u6587\u4ef6\u7cfb\u7edf\u53bb\u7ba1\u7406\uff0c\u6bd4\u5982\u7ba1\u7406 NAND FLASH \u7684\u8bdd\u4f7f\u7528 YAFFS \u6587\u4ef6\u7cfb\u7edf\uff0c\u7ba1\u7406\u786c\u76d8\u3001SD \u5361\u7684\u8bdd\u5c31\u662f ext \u6587\u4ef6\u7cfb\u7edf\u7b49\u7b49\u3002 \u683c\u5f0f\u5316\u78c1\u76d8<\/strong><\/div>\n \u4e0a\u56fe\u5c31\u662f\u683c\u5f0f\u5316\u78c1\u76d8\u7684\u65f6\u5019\u9009\u62e9\u6587\u4ef6\u7cfb\u7edf\uff0cWindows \u4e0b\u4e00\u822c\u6709 FAT\u3001NTFS \u548c exFAT\u8fd9\u4e9b\u6587\u4ef6\u7cfb\u7edf\u3002\u540c\u6837\u7684\uff0c\u5728 Linux \u4e0b\u6211\u4eec\u4f7f\u7528 fdisk \u521b\u5efa\u597d\u5206\u533a\u4ee5\u540e\u4e5f\u662f\u8981\u5148\u5728\u521b\u5efa\u597d\u7684\u5206\u533a\u4e0a\u9762\u521b\u5efa\u6587\u4ef6\u7cfb\u7edf\uff0c\u4e5f\u5c31\u662f\u683c\u5f0f\u5316\u3002 ext2 \u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/div>\n ext2 \u662fLinux \u65e9\u671f\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u4f46\u662f\u968f\u7740\u6280\u672f\u7684\u53d1\u5c55 ext2 \u6587\u4ef6\u7cfb\u7edf\u5df2\u7ecf\u4e0d\u63a8\u8350\u4f7f\u7528\u4e86\uff0cext2\u662f\u4e00\u4e2a\u975e\u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf,\u5927\u591a\u6570\u7684 Linux \u53d1\u884c\u7248\u90fd\u4e0d\u652f\u6301 ext2 \u6587\u4ef6\u7cfb\u7edf\u4e86\u3002<\/p>\n ext3 \u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/div>\n ext3 \u662f\u5728 ext2 \u7684\u57fa\u7840\u4e0a\u53d1\u5c55\u8d77\u6765\u7684\u6587\u4ef6\u7cfb\u7edf\uff0c\u5b8c\u5168\u517c\u5bb9 ext2 \u6587\u4ef6\u7cfb\u7edf\uff0cext3 \u662f\u4e00\u4e2a\u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf\uff0cext3 \u652f\u6301\u5927\u6587\u4ef6\uff0cext3 \u6587\u4ef6\u7cfb\u7edf\u7684\u7279\u70b9\u6709\u5982\u4e0b\uff1a<\/p>\n \u9ad8\u53ef\u9760\u6027\uff1a\u4f7f\u7528 ext3 \u6587\u4ef6\u7cfb\u7edf\u7684\u8bdd\uff0c\u5373\u4f7f\u7cfb\u7edf\u975e\u6b63\u5e38\u5173\u673a\u3001\u53d1\u751f\u6b7b\u673a\u7b49\u60c5\u51b5\uff0c\u6062\u590d ext3 \u6587\u4ef6\u7cfb\u7edf\u4e5f\u53ea\u9700\u8981\u6570\u5341\u79d2\u3002<\/p>\n \u6570\u636e\u5b8c\u6574\u6027\uff1aext3 \u63d0\u9ad8\u4e86\u6587\u4ef6\u7cfb\u7edf\u7684\u5b8c\u6574\u6027\uff0c\u907f\u514d\u610f\u5916\u6b7b\u673a\u6216\u8005\u5173\u673a\u5bf9\u6587\u4ef6\u7cfb\u7edf\u7684\u4f24\u5bb3\u3002<\/p>\n \u6587\u4ef6\u7cfb\u7edf\u901f\u5ea6\uff1aext3 \u7684\u65e5\u5fd7\u529f\u80fd\u5bf9\u78c1\u76d8\u9a71\u52a8\u5668\u8bfb\u5199\u5934\u8fdb\u884c\u4e86\u4f18\u5316\uff0c\u6587\u4ef6\u7cfb\u7edf\u901f\u5ea6\u76f8\u5bf9\u4e0e ext2\u6765\u8bf4\u6ca1\u6709\u964d\u4f4e\u3002<\/p>\n \u6570\u636e\u8f6c\u6362\uff1a\u4ece ext2 \u8f6c\u6362\u5230ext3 \u975e\u5e38\u5bb9\u6613\uff0c\u53ea\u9700\u8981\u4e24\u6761\u6307\u4ee4\u5c31\u53ef\u4ee5\u5b8c\u6210\u8f6c\u6362\u3002\u7528\u6237\u4e0d\u9700\u8981\u82b1\u65f6\u95f4\u53bb\u5907\u4efd\u3001\u6062\u590d\u3001\u683c\u5f0f\u5316\u5206\u533a\u7b49\uff0c\u7528 ext3 \u6587\u4ef6\u7cfb\u7edf\u63d0\u4f9b\u7684\u5de5\u5177 tune2fs \u5373\u53ef\u8f7b\u677e\u7684\u5c06 ext2 \u6587\u4ef6\u7cfb\u7edf\u8f6c\u6362\u4e3a ext3 \u65e5\u5fd7\u6587\u4ef6\u7cfb\u7edf\u3002ext3 \u6587\u4ef6\u7cfb\u7edf\u4e0d\u9700\u8981\u7ecf\u8fc7\u4efb\u4f55\u4fee\u6539\uff0c\u53ef\u4ee5\u76f4\u63a5\u6302\u8f7d\u6210 ext2 \u6587\u4ef6\u7cfb\u7edf\u3002<\/p>\n ext4 \u6587\u4ef6\u7cfb\u7edf\uff1a<\/strong><\/div>\n ext4 \u6587\u4ef6\u7cfb\u7edf\u662f\u5728 ext3 \u4e0a\u53d1\u5c55\u8d77\u6765\u7684\uff0cext4 \u76f8\u6bd4\u4e0eext3 \u63d0\u4f9b\u4e86\u66f4\u4f73\u7684\u6027\u80fd\u548c\u53ef\u9760\u6027\uff0c\u5e76\u4e14\u529f\u80fd\u66f4\u4e30\u5bcc\uff0cext4 \u5411\u4e0b\u517c\u5bb9 ext3 \u548c ext2\uff0c\u56e0\u6b64\u53ef\u4ee5\u5c06 ext2 \u548c ext3 \u6302\u8f7d\u4e3a ext4\u3002\u90a3\u4e48\u6211\u4eec\u5b89\u88c5\u7684 Ubuntu \u4f7f\u7528\u7684\u54ea\u4e2a\u7248\u672c\u7684\u6587\u4ef6\u7cfb\u7edf\u5462\uff1f\u5728\u7ec8\u7aef\u4e2d\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\u6765\u67e5\u8be2\u5f53\u524d\u78c1\u76d8\u6302\u8f7d\u7684\u5565\u6587\u4ef6\u7cfb\u7edf\uff1a<\/p>\n df -T \u2013h<\/pre>\n |