id: a4644ece425f45b897f4153e43ae30a6
parent_id: 
item_type: 1
item_id: 6b83429103fc4997a5c315a4b72c9974
item_updated_time: 1764345565327
title_diff: "[{\"diffs\":[[1,\"[分享]Linux磁盘分区以及文件系统挂载  霸王硬上弓's Blog\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":35}]"
body_diff: "[{\"diffs\":[[1,\"<html>\\\r\\\n<head>\\\r\\\n  <title>[分享]Linux磁盘分区以及文件系统挂载 | 霸王硬上弓's Blog</title>\\\r\\\n  <basefont face=\\\"微软雅黑\\\" size=\\\"2\\\" />\\\r\\\n  <meta http-equiv=\\\"Content-Type\\\" content=\\\"text/html;charset=utf-8\\\" />\\\r\\\n  <meta name=\\\"exporter-version\\\" content=\\\"YXBJ Windows/608924 (zh-CN, DDL); Windows/10.0.0 (Win64); EDAMVersion=V2;\\\"/>\\\r\\\n  <meta name=\\\"application-data:2525275\\\" content=\\\"6692893/s30/6e26870b-3040-469c-878c-d7b42f61494f/app.yinxiang.com\\\"/>\\\r\\\n  <style>\\\r\\\n\\tbody, td {\\\r\\\n\\t  font-family: 微软雅黑;\\\r\\\n\\t  font-size: 12pt;\\\r\\\n\\t}\\\r\\\n  </style>\\\r\\\n</head>\\\r\\\n<body>\\\r\\\n<a name=\\\"9925\\\"></a>\\\r\\\n<h1>[分享]Linux磁盘分区以及文件系统挂载 | 霸王硬上弓's Blog</h1>\\\r\\\n\\\r\\\n<div><span><br/><div style=\\\"font-size: 16px\\\"><div><div style=\\\"color:rgb(51, 51, 51);font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:微软雅黑, Verdana, Arial, Helvetica, sans-serif;background:url(http://blog.ich8.com/wp-content/themes/flysimple/images/bg.png) repeat rgb(250, 250, 250);\\\"><div><div><div>\\\n<div style=\\\"border:0px;margin:0px;padding:0px;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(235, 235, 235);margin-top:7px;line-height:30px;height:30px;\\\">当前位置： <a href=\\\"http://blog.ich8.com//\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"返回首页\\\">首页</a> &gt; <a href=\\\"http://blog.ich8.com/post/category/technology/system\\\" rel=\\\"category tag\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">系统与应用</a> &gt; 正文</div>\\\n<div style=\\\"border:0px;margin:0px;padding:0px;margin-top:10px;\\\">\\\n<h2 style=\\\"border:0px;margin:0px;font-size:16px;padding:0px 0px 3px 80px;background:url(http://blog.ich8.com/wp-content/themes/flysimple/images/line.gif) 50% 100% repeat-x;line-height:26px;\\\">[分享]Linux磁盘分区以及文件系统挂载</h2>\\\n<div style=\\\"border-top-style:solid;border:0px;padding:0px;margin:0px;border-top-color:rgb(0, 136, 221);border-top-width:5px;float:left;width:70px;height:72px;position:absolute;margin-top:-1px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;display:block;text-align:center;font-size:11px;padding-top:5px;font-family:Verdana;\\\">Apr</span><span style=\\\"border:0px;margin:0px;padding:0px;display:block;padding-left:3px;text-align:center;font-size:25px;margin-top:-5px;font-family:Georgia, Arial, Tahoma, Geneva;font-weight:bold;\\\">25</span><span style=\\\"border:0px;margin:0px;padding:0px;display:block;text-align:center;font-size:11px;font-family:Verdana;\\\">2014</span></div>\\\n<div style=\\\"border:0px;margin:0px;padding:0px;float:right;width:620px;border-bottom-width:1px;border-bottom-color:rgb(221, 221, 221);border-bottom-style:solid;overflow:hidden;\\\">\\\n<div style=\\\"border:0px;margin:0px;padding:0px;font-size:12px;padding-left:10px;line-height:22px;color:rgb(119, 119, 119);\\\">作者：霸王硬上弓   发布：2014-04-25 22:29   分类：<a href=\\\"http://blog.ich8.com/post/category/technology/system\\\" rel=\\\"category tag\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">系统与应用</a>   阅读：660 views   <a href=\\\"http://blog.ich8.com/post/4683#comments\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"《[分享]Linux磁盘分区以及文件系统挂载》上的评论\\\">1条评论</a>   </div><div style=\\\"border:0px;margin:0px;padding:0px;clear:both;\\\"></div>\\\n        <div style=\\\"border:0px;margin:0px;padding:0px;position:relative;overflow:hidden;\\\">\\\n        <p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这个，实际上很简单。本来是要介绍openwrt文件系统挂载的，不过想想，这个也是属于文件系统挂载的一部分。…这里就简单介绍挂载，我还是给不会的童鞋教一遍吧，如果还是不会，自己摸索吧。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">首选磁盘格式：ext3/ext4。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这里我们先添加一块大小为160G的空硬盘，将其分区并格式化。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"> </p>\\\n<h2 style=\\\"border:0px;margin:0px;font-size:16px;padding:0px 0px 3px 80px;background:url(http://blog.ich8.com/wp-content/themes/flysimple/images/line.gif) 50% 100% repeat-x;line-height:26px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#0000ff;\\\">1.查看硬盘</span></h2>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">使用ssh登陆openwrt。在这边，我们可以用 <strong style=\\\"border:0px;margin:0px;padding:0px;\\\">fdisk -l</strong> 命令来查看系统是否检测到了你的磁盘。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">root@Navigator:~# <span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">fdisk -l</span></p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Disk /dev/sda: 403 MB, 403177472 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n255 heads, 63 sectors/track, 49 cylinders, total 787456 sectors<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUnits = sectors of 1 * 512 = 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSector size (logical/physical): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nI/O size (minimum/optimal): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nDisk identifier: 0x00000000</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Device Boot Start End Blocks Id System<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sda1 * 512 131583 65536 83 Linux<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sda2 132096 787455 327680 83 Linux</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Disk /dev/sdb: 171.8 GB, 171798691840 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n255 heads, 63 sectors/track, 20886 cylinders, total 335544320 sectors<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUnits = sectors of 1 * 512 = 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSector size (logical/physical): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nI/O size (minimum/optimal): 512 bytes / 512 bytes</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">从这里可以看到，刚才添加的那块160G磁盘位于/dev/sdb，这里列出了硬盘的容量，扇区，柱面等信息。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"> </p>\\\n<h2 style=\\\"border:0px;margin:0px;font-size:16px;padding:0px 0px 3px 80px;background:url(http://blog.ich8.com/wp-content/themes/flysimple/images/line.gif) 50% 100% repeat-x;line-height:26px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#0000ff;\\\">2.分区操作</span></h2>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">关于分区，可以使用 <span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"></span><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">fdisk /dev/sdb</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"></span> 命令进行分区操作。这边sdb对应的是刚添加的那块磁盘。输入 fdisk /dev/sdb 回车，会出现如下信息：</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">root@Navigator:~# fdisk /dev/sdb<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nWelcome to fdisk (util-linux 2.21.2).</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Changes will remain in memory only, until you decide to write them.<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nBe careful before using the write command.</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Device does not contain a recognized partition table<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nBuilding a new DOS disklabel with disk identifier 0xcf1bdfe3.</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help):</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这时候已经进入了fdisk工具的命令界面，这里提示你输入命令进行操作。如果需要查看帮助直接输入 m 。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): m<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nCommand action<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\na toggle a bootable flag<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nb edit bsd disklabel<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nc toggle the dos compatibility flag<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nd delete a partition<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nl list known partition types<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nm print this menu<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nn add a new partition<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\no create a new empty DOS partition table<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\np print the partition table<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nq quit without saving changes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\ns create a new empty Sun disklabel<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nt change a partition’s system id<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nu change display/entry units<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nv verify the partition table<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nw write table to disk and exit<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nx extra functionality (experts only)</p></blockquote>\\\n<h4 style=\\\"border:0px;padding:0px;margin:10px 0px 5px;\\\"><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#339966;\\\">①创建主分区</span></strong></h4>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">p</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">:查看当前分区；</span><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">n</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">:创建新的分区;</span><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">w</span></strong><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">:将修改后的分区表写入磁盘</span></p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">因为是空硬盘，所以输入p也看不到任何分区。此时输入 n ；</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Partition type:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\np primary (0 primary, 0 extended, 4 free)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\ne extended<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSelect (default p):</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">如果选择p，则会创建主分区。由于fdisk只支持MBR分区类型，所以它最多只可以拥有4个主分区。默认为p，回车。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Partition number (1-4, default 1):</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这时候会提示我们创建的主分区分区号，默认为1，可以直接回车。这时候会提示我们选择创建的主分区的默认柱面，保持默认，回车。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">First sector (2048-335544319, default 2048):</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">当然，一般人不可能去计算柱面对应的分区大小，回车后会出现以下内容。输入 <strong style=\\\"border:0px;margin:0px;padding:0px;\\\">+</strong> ，后面携带你想创建的主分区的分区大小。单位可以是K，也可以是M，或者是G，后缀为大写。这里我创建主分区为60G，则输入<strong style=\\\"border:0px;margin:0px;padding:0px;\\\">+60G<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n</strong></p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Last sector, +sectors or +size{K,M,G} (2048-335544319, default 335544319): +60G</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">回车后会返回 Partition 1 of type Linux and of size 60 GiB is set，提示分区1已经创立，大小为60G。接着会回到 Command (m for help): 。可以输入<strong style=\\\"border:0px;margin:0px;padding:0px;\\\">p</strong>来查看已分区的分区。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): p</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Disk /dev/sdb: 171.8 GB, 171798691840 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n255 heads, 63 sectors/track, 20886 cylinders, total 335544320 sectors<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUnits = sectors of 1 * 512 = 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSector size (logical/physical): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nI/O size (minimum/optimal): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nDisk identifier: 0xcf1bdfe3</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Device Boot Start End Blocks Id System<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sdb1 2048 125831167 62914560 83 Linux</p></blockquote>\\\n<h4 style=\\\"border:0px;padding:0px;margin:10px 0px 5px;\\\"><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#339966;\\\">②创建扩展分区</span></strong></h4>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">现在创建扩展分区，同样 输入n 。这时候我们选择<strong style=\\\"border:0px;margin:0px;padding:0px;\\\">e</strong>，创建扩展分区。这时候的默认分区号为2。这里我们一路直接回车。因为我将剩下的全部容量都作为扩展分区的一部分，创建完扩展分区后将会把这部分扩展分区的容量划分成若干个逻辑分区。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): n<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition type:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\np primary (1 primary, 0 extended, 3 free)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\ne extended<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSelect (default p): e<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition number (1-4, default 2):<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsing default value 2<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nFirst sector (125831168-335544319, default 125831168):<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsing default value 125831168<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nLast sector, +sectors or +size{K,M,G} (125831168-335544319, default 335544319):<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsing default value 335544319<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition 2 of type Extended and of size 100 GiB is set</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这时候我们可以看到剩余的100G已经全部属于扩展分区了。</p>\\\n<h4 style=\\\"border:0px;padding:0px;margin:10px 0px 5px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#339966;\\\"><strong style=\\\"border:0px;margin:0px;padding:0px;\\\">③创建逻辑分区</strong></span></h4>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">同样输入命令 n ，我们选择<strong style=\\\"border:0px;margin:0px;padding:0px;\\\"> l</strong> ，进行逻辑分区的创建操作。同样使用回车键跳过柱面，输入容量。比如当前要创建的分区为70G。输入 +70G ，回车后提示已经完成容量为70G的分区的创建操作了。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): n<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition type:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\np primary (1 primary, 1 extended, 2 free)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nl logical (numbered from 5)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSelect (default p): l<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nAdding logical partition 5<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nFirst sector (125833216-335544319, default 125833216):<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsing default value 125833216<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nLast sector, +sectors or +size{K,M,G} (125833216-335544319, default 335544319): +70G<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition 5 of type Linux and of size 70 GiB is set</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">现在我们创建最后一个分区，依旧为逻辑分区，使用剩下的全部容量。如果你只要创建一个或者两个分区，跳过上面输入容量的步骤，直接回车即可。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): n<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition type:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\np primary (1 primary, 1 extended, 2 free)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nl logical (numbered from 5)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSelect (default p): l<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nAdding logical partition 6<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nFirst sector (272635904-335544319, default 272635904):<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsing default value 272635904<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nLast sector, +sectors or +size{K,M,G} (272635904-335544319, default 335544319):<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsing default value 335544319<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nPartition 6 of type Linux and of size 30 GiB is set</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">此时，分区创建已经完成，可以输入p查看已经创建的分区，如果不需要修改，则输入 <strong style=\\\"border:0px;margin:0px;padding:0px;\\\">w </strong>进行保存操作即可。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">我们看到已经创建的分区：</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): p</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Disk /dev/sdb: 171.8 GB, 171798691840 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n255 heads, 63 sectors/track, 20886 cylinders, total 335544320 sectors<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUnits = sectors of 1 * 512 = 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSector size (logical/physical): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nI/O size (minimum/optimal): 512 bytes / 512 bytes<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nDisk identifier: 0x7dfec402</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Device Boot Start End Blocks Id System<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sdb1 2048 125831167 62914560 83 Linux<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sdb2 125831168 335544319 104856576 5 Extended<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sdb5 125833216 272633855 73400320 83 Linux<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sdb6 272635904 335544319 31454208 83 Linux</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">输入w进行保存和退出操作。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Command (m for help): w<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nThe partition table has been altered!</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Calling ioctl() to re-read partition table.<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nSyncing disks.</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这时候可以通过 <strong style=\\\"border:0px;margin:0px;padding:0px;\\\">fdisk -l</strong> 或者 <strong style=\\\"border:0px;margin:0px;padding:0px;\\\">ls /dev/sdb*</strong> 来查看sdb磁盘下已经创建的分区。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">root@Navigator:~# ls /dev/sdb*<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n/dev/sdb /dev/sdb1 /dev/sdb2 /dev/sdb5 /dev/sdb6</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"> </p>\\\n<h2 style=\\\"border:0px;margin:0px;font-size:16px;padding:0px 0px 3px 80px;background:url(http://blog.ich8.com/wp-content/themes/flysimple/images/line.gif) 50% 100% repeat-x;line-height:26px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#0000ff;\\\">3.格式化磁盘分区</span></h2>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">虽然我们已经完成分区的划分，但是此时分区是没有文件系统的，所以我们并不能对分区进行文件的读写操作等。在linux系统下，推荐使用ext3/ext4作为磁盘的默认文件系统，对于部分支持ntfs的linux系统来说我也并不建议使用ntfs，由于ntfs的版权属于微软，它并不是开源社区的产品，虽然有ntfs-3g这个开源项目为linux提供支持，但效率不高。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这里，我们可以使用 <strong style=\\\"border:0px;margin:0px;padding:0px;\\\">mke2fs </strong>命令来创建磁盘的文件系统。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">输入mke2fs，我们可以发现他包含以下参数，常见的有-b 块大小，-C 簇大小，-J 建立日志系统 -U 创建UUID 和 -t 要创建的文件系统。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">root@Navigator:~# mke2fs<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUsage: mke2fs [-c|-l filename] [-b block-size] [-C cluster-size]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n[-i bytes-per-inode] [-I inode-size] [-J journal-options]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n[-G flex-group-size] [-N number-of-inodes]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n[-m reserved-blocks-percentage] [-o creator-os]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n[-g blocks-per-group] [-L volume-label] [-M last-mounted-directory]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n[-O feature[,…]] [-r fs-revision] [-E extended-option[,…]]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n[-t fs-type] [-T usage-type ] [-U UUID] [-jnqvDFKSV] device [blocks-count]</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">比如，我们要将/dev/sdb6创建文件系统为ext4的分区，则可以使用<span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">mke2fs -t ext4 /dev/sdb6</span> 。在这里，我们统一将文件系统创建为ext4。注意：这边/dev/sdb2为扩展分区，是不可以有文件系统。所以我们不需要对其格式化，当然格式化也是会提示出错的。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">当提示以下信息时候，则表示文件系统已经创建完成。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Allocating group tables: done<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nWriting inode tables: done<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nCreating journal (32768 blocks): done<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nWriting superblocks and filesystem accounting information: done</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"> </p>\\\n<h2 style=\\\"border:0px;margin:0px;font-size:16px;padding:0px 0px 3px 80px;background:url(http://blog.ich8.com/wp-content/themes/flysimple/images/line.gif) 50% 100% repeat-x;line-height:26px;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;color:#0000ff;\\\">4.文件分区的挂载</span></h2>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">在linux下，如果我们要对分区进行读写操作，则需要挂载它，类似Windows下给分区添加盘符的操作。这里，我们要将/dev/sdb1和/dev/sdb5以及/dev/sdb6挂载到/mnt目录下。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">默认挂载命令：<strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">mount /dev/sdb1 /mnt</span></strong></p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">挂载带参数的命令：<strong style=\\\"border:0px;margin:0px;padding:0px;\\\">mount -o async,atime /dev/sdb1 /mnt/xxx</strong> ，这里表示该分区将文件缓存后写入以及更新文件的最后访问时间。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">可以附加的参数：</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Usage:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nmount [-lhV]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nmount -a [options]<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nmount [options] &lt;source&gt; | &lt;directory&gt;<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nmount [options] &lt;source&gt; &lt;directory&gt;<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nmount &lt;operation&gt; &lt;mountpoint&gt; [&lt;target&gt;]</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Options:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-a, –all mount all filesystems mentioned in fstab<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-c, –no-canonicalize don’t canonicalize paths<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-f, –fake dry run; skip the mount(2) syscall<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-F, –fork fork off for each device (use with -a)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-T, –fstab &lt;path&gt; alternative file to /etc/fstab<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-h, –help display this help text and exit<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-i, –internal-only don’t call the mount.&lt;type&gt; helpers<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-l, –show-labels lists all mounts with LABELs<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-n, –no-mtab don’t write to /etc/mtab<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-o, –options &lt;list&gt; comma-separated list of mount options<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-O, –test-opts &lt;list&gt; limit the set of filesystems (use with -a)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-p, –pass-fd &lt;num&gt; read the passphrase from file descriptor<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-r, –read-only mount the filesystem read-only (same as -o ro)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-t, –types &lt;list&gt; limit the set of filesystem types<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-v, –verbose say what is being done<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-V, –version display version information and exit<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-w, –read-write mount the filesystem read-write (default)</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">-h, –help display this help and exit<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-V, –version output version information and exit</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Source:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-L, –label &lt;label&gt; synonym for LABEL=&lt;label&gt;<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-U, –uuid &lt;uuid&gt; synonym for UUID=&lt;uuid&gt;<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nLABEL=&lt;label&gt; specifies device by filesystem label<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nUUID=&lt;uuid&gt; specifies device by filesystem UUID<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n&lt;device&gt; specifies device by path<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n&lt;directory&gt; mountpoint for bind mounts (see –bind/rbind)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n&lt;file&gt; regular file for loopdev setup</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">Operations:<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-B, –bind mount a subtree somewhere else (same as -o bind)<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-M, –move move a subtree to some other place<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n-R, –rbind mount a subtree and all submounts somewhere else<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-shared mark a subtree as shared<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-slave mark a subtree as slave<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-private mark a subtree as private<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-unbindable mark a subtree as unbindable<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-rshared recursively mark a whole subtree as shared<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-rslave recursively mark a whole subtree as slave<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-rprivate recursively mark a whole subtree as private<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n–make-runbindable recursively mark a whole subtree as unbindable</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这边注意-o，可以挂载为ro(只读)，rw(读写)，sync(操作直接写入磁盘)，async(缓存后写入磁盘)，atime(更新文件访问时间)，noatime(访问文件时不更新文件最后访问时间)等。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这边我们将/dev/sdb1挂载到/mnt/sdb1(更新最后访问时间)，/dev/sdb5挂载到/mnt/sdb5(文件直接写入分区)，/dev/sdb6挂载到/mnt/sdb6。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">首先，要创建这三个文件夹，都位于/mnt下，创建sdb1，sdb5，以及sdb6。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">使用命令<strong style=\\\"border:0px;margin:0px;padding:0px;\\\">mkdir -p /mnt/sdb1</strong>创建。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">root@Navigator:/# mkdir -p /mnt/sdb1<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nroot@Navigator:/# mkdir -p /mnt/sdb5<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nroot@Navigator:/# mkdir -p /mnt/sdb6</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">这时候开始挂载。命令见上面。</p>\\\n<blockquote style=\\\"border:0px;margin:0px 5px;padding:5px 20px;border-width:1px 1px 1px 8px;border-style:solid;border-color:rgb(221, 221, 221);overflow:auto;background-color:rgb(233, 233, 233);\\\"><p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">root@Navigator:/# mount -o atime /dev/sdb1 /mnt/sdb1<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nroot@Navigator:/# mount -o sync /dev/sdb5 /mnt/sdb5<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\nroot@Navigator:/# mount /dev/sdb6 /mnt/sdb6</p></blockquote>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">可以使用 <span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\"></span><strong style=\\\"border:0px;margin:0px;padding:0px;\\\"><span style=\\\"x-evernote:highlighted;background-color:#F6EE96;\\\">ls /mnt/sdb*</span> </strong>查看挂载点。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">卸载文件系统可以使用umount，后面跟文件系统或者挂载点都行。比如跟文件系统 umount /dev/sdb5，跟挂载点 umount /mnt/sdb5。</p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"> </p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"><span style=\\\"border:0px;margin:0px;padding:0px;text-decoration:underline;\\\"><strong style=\\\"border:0px;margin:0px;padding:0px;\\\">OPENWRT：手动挂载完成后可以刷新磁盘应用 – 挂载点，可以查看到已经挂载的分区。</strong></span></p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\"><a href=\\\"http://blog.ich8.com/post/4683/openwrt-mount\\\" rel=\\\"attachment wp-att-4685\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\"><img src=\\\"[分享]Linux磁盘分区以及文件系统挂载  霸王硬上弓's Blog_files/Image.png\\\" type=\\\"image/png\\\" data-filename=\\\"Image.png\\\" alt=\\\"openwrt-mount\\\" height=\\\"157\\\" style=\\\"border:0px;margin:0px;padding:0px;clear:both;display:block;margin-left:auto;margin-right:auto;max-width:100%;height:auto;margin-bottom:5px;\\\" width=\\\"300\\\"/></a></p>\\\n<p style=\\\"border:0px;margin:0px;padding:5px 0px;line-height:22px;text-indent:2em;\\\">本文固定链接: <a href=\\\"http://blog.ich8.com/post/4683\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"[分享]Linux磁盘分区以及文件系统挂载\\\">http://blog.ich8.com/post/4683 | 霸王硬上弓's Blog</a></p></div>\\\n        </div>\\\n</div>\\\n<div style=\\\"border:0px;margin:0px;padding:10px 0px;float:right;width:620px;border-bottom-width:1px;border-bottom-color:rgb(221, 221, 221);border-bottom-style:solid;overflow:hidden;\\\">\\\n<div style=\\\"border:0px;margin:0px;padding:0px;float:left;width:60px;\\\">\\\n\\t\\t\\t\\t\\t<a href=\\\"http://blog.ich8.com/post/author/%E7%BD%91%E7%BB%9C%E6%97%BA%E6%97%BA\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"\\\"><img src=\\\"[分享]Linux磁盘分区以及文件系统挂载  霸王硬上弓's Blog_files/image-pending.gif\\\" type=\\\"image/gif\\\" data-filename=\\\"image-pending.gif\\\" height=\\\"48\\\" style=\\\"border:0px;margin:0px;padding:3px;margin-top:8px;background:rgb(204, 204, 204);\\\" width=\\\"48\\\"/></a>\\\n\\t\\t\\t\\t</div>\\\n<div style=\\\"border:0px;margin:0px;padding:0px;float:right;width:540px;\\\">\\\n\\t\\t\\t<span style=\\\"border:0px;margin:0px;padding:0px;\\\">\\\n\\t\\t\\t\\t该日志由 霸王硬上弓 于2014年04月25日发表在 <a href=\\\"http://blog.ich8.com/post/category/technology/system\\\" rel=\\\"category tag\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">系统与应用</a> 分类下，\\\n\\t\\t\\t\\t\\t\\t\\t\\t你可以<a href=\\\"http://blog.ich8.com/post/4683#respond\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">发表评论</a>，并在保留<a href=\\\"http://blog.ich8.com/post/4683\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">原文地址</a>及作者的情况下<a href=\\\"http://blog.ich8.com/post/4683/trackback\\\" rel=\\\"trackback\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">引用</a>到你的网站或博客。\\\n\\t\\t\\t\\t<br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n\\t\\t\\t\\t原创文章转载请注明: <a href=\\\"http://blog.ich8.com/post/4683\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"本文固定链接 http://blog.ich8.com/post/4683\\\">[分享]Linux磁盘分区以及文件系统挂载 | 霸王硬上弓's Blog</a><br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>\\\n\\t\\t\\t\\t\\t\\t\\t</span>\\\n\\t\\t\\t\\t</div>\\\n</div>\\\n\\\n<div style=\\\"border:0px;margin:0px;padding:10px 0px;float:right;width:620px;border-bottom-width:1px;border-bottom-color:rgb(221, 221, 221);border-bottom-style:solid;overflow:hidden;\\\">\\\n【上一篇】<a href=\\\"http://blog.ich8.com/post/4678\\\" rel=\\\"prev\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">[分享]PHPWind 8.x 自动添加关键词</a><br style=\\\"border:0px;margin:0px;padding:0px;\\\"/>【下一篇】<a href=\\\"http://blog.ich8.com/post/4688\\\" rel=\\\"next\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\">[分享]OpenWRT 文件系统挂载</a></div>\\\n\\\n<div style=\\\"border:0px;margin:0px;padding:10px 0px;float:right;width:620px;border-bottom-width:1px;border-bottom-color:rgb(221, 221, 221);border-bottom-style:solid;overflow:hidden;\\\">\\\n<div style=\\\"border:0px;margin:0px;padding:0px;\\\">\\\n<h3 style=\\\"border:0px;margin:0px;padding:0px;font-size:15px;\\\">您可能还会对这些文章感兴趣！</h3>\\\n<ul style=\\\"border:0px;margin:0px;padding:0px;margin-top:5px;\\\">\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/5411\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]中兴 ZTE W815N 2013版固件\\\">[分享]中兴 ZTE W815N 2013版固件 </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/1741\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]华为EC1308 机顶盒设置\\\">[分享]华为EC1308 机顶盒设置 </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/4499\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]OpenWRT X86 安装方法\\\">[分享]OpenWRT X86 安装方法(5)</a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/3526\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]使用 StarWind Converter 互转vmdk vhd以及转img\\\">[分享]使用 StarWind Converter 互转vmdk vhd以及转img(1)</a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/5668\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]禁止PotPlayer弹出自动更新提示\\\">[分享]禁止PotPlayer弹出自动更新提示 </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/259\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [整理]使用IPv6进行远程桌面连接\\\">[整理]使用IPv6进行远程桌面连接 </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/3243\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]TP-Link WR703N OpenWRT固件修改WAN LAN排序\\\">[分享]TP-Link WR703N OpenWRT固件修改WAN LAN排序(7)</a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/3735\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]解决Windows 7/8 系统硬件评分时出现”无法度量视频播放性能”\\\">[分享]解决Windows 7/8 系统硬件评分时出现”无法度量视频播放性能” </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/1731\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]路由猫设置IPTV接口\\\">[分享]路由猫设置IPTV接口 </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/4903\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]腾达W3000R W3002R W8002R适配DD-WRT固件CFE\\\">[分享]腾达W3000R W3002R W8002R适配DD-WRT固件CFE(5)</a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/4349\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]上海贝尔光猫查看宽带账号密码/语音电话鉴权密码\\\">[分享]上海贝尔光猫查看宽带账号密码/语音电话鉴权密码 </a></li>\\\n\\t\\t<li style=\\\"width:300px;border:0px;padding:0px;margin:0px;display:block;float:left;height:22px;overflow:hidden;line-height:22px;padding-right:8px;list-style:none;\\\"><a href=\\\"http://blog.ich8.com/post/2174\\\" rel=\\\"bookmark\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\" title=\\\"详细阅读 [分享]解决 设备 \\\\Device\\\\Harddisk1 有一个不正确的区块 问题\\\">[分享]解决 设备 \\\\Device\\\\Harddisk1 有一个不正确的区块 问题 </a></li>\\\n\\t</ul>\\\n<div style=\\\"border:0px;margin:0px;padding:0px;clear:both;\\\"></div>\\\n</div><div style=\\\"border:0px;margin:0px;padding:0px;clear:both;\\\"></div>\\\n</div>\\\n\\\n<div style=\\\"border:0px;margin:0px;padding:10px 0px;float:right;width:620px;border-bottom-width:1px;border-bottom-color:rgb(221, 221, 221);border-bottom-style:solid;overflow:hidden;\\\">\\\n\\\n\\t<h3 style=\\\"border:0px;margin:0px;padding:0px;font-size:15px;\\\">[分享]Linux磁盘分区以及文件系统挂载：目前有1 条留言</h3>\\\n\\t<ol style=\\\"border:0px;margin:0px;padding:0px;\\\">\\\n\\t<li style=\\\"border:0px;padding:0px;position:relative;margin:10px 0px;list-style:none;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221, 221, 221);\\\">\\\n   <div style=\\\"border:0px;margin:0px;padding:5px 0px;\\\">\\\n      \\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;\\\">\\\n\\t\\t<img src=\\\"[分享]Linux磁盘分区以及文件系统挂载  霸王硬上弓's Blog_files/image-pending [1].gif\\\" type=\\\"image/gif\\\" data-filename=\\\"image-pending.gif\\\" height=\\\"40\\\" style=\\\"border:1px solid rgb(221, 221, 221);margin:4px 6px 0px 0px;padding:2px;width:40px;height:40px;position:relative;float:left;background:rgb(255, 255, 255);\\\" width=\\\"40\\\"/>\\t\\t\\t\\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;float:right;color:rgb(187, 187, 187);\\\">沙发         </div><strong style=\\\"border:0px;margin:0px;padding:0px;\\\">kenny_huang</strong>:</div>\\\n\\t\\t\\t\\t<p style=\\\"border:0px;padding:0px;margin:8px 5px 5px 50px;line-height:22px;word-wrap:break-word;\\\">谢谢了 ，正准备使用呢</p>\\\n        \\\n\\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;clear:both;\\\"></div><span style=\\\"border:0px;margin:0px;padding:0px;font-size:12px;color:rgb(170, 170, 170);text-shadow:rgb(255, 255, 255) 0px 1px 0px;margin-left:50px;\\\">2015-10-13 09:07 </span> <span style=\\\"border:0px;margin:0px;padding:0px;\\\"><a href=\\\"http://blog.ich8.com/wp-login.php?redirect_to=http%3A%2F%2Fblog.ich8.com%2Fpost%2F4683\\\" rel=\\\"nofollow\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;text-align:center;font-size:12px;\\\">登录以回复</a></span>\\\n  </div>\\\n</li>\\t</ol>\\\n\\t<div style=\\\"border:0px;padding:0px;margin:9px 0px 5px;font-size:12px;float:right;text-align:right;\\\">\\\n\\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;line-height:24px;\\\"></div>\\\n\\t</div>\\\n \\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;clear:both;border-top-width:1px;border-top-style:solid;border-top-color:rgb(221, 221, 221);\\\">\\\n\\t<div style=\\\"border:0px;margin:0px;padding:5px 10px 10px;overflow:hidden;\\\">\\\n\\t\\t<h3 style=\\\"border:0px;padding:0px;font-size:15px;margin:5px 0px 6px;\\\">发表评论</h3>\\t\\\n\\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;\\\">\\\n\\t\\t<div style=\\\"border:0px;margin:0px;padding:0px;\\\">\\\n\\t\\t\\t<img alt=\\\"\\\" height=\\\"40\\\" src=\\\"\\\" style=\\\"margin:0px;border:1px solid rgb(221, 221, 221);padding:2px;float:right;margin-right:20px;background:rgb(255, 255, 255);\\\" width=\\\"40\\\"></img>\\t</div>\\t\\\n\\t\\t\\t<small style=\\\"border:0px;margin:0px;padding:0px;\\\"></small>\\\n\\t\\t</div>\\\n\\t\\t\\t\\t<p style=\\\"border:0px;margin:0px;padding:0px;\\\">您必须<a href=\\\"http://blog.ich8.com/wp-login.php?redirect_to=http%3A%2F%2Fblog.ich8.com%2Fpost%2F4683\\\" style=\\\"border:0px;margin:0px;padding:0px;color:rgb(0, 136, 221);text-decoration:none;\\\"> [ 登录 ] </a>才能发表留言！</p>\\\n      </div>\\\n  </div>\\\n  </div>\\\n\\\n\\t</div></div></div></div></div></div><br/></span>\\\n</div></body></html>\\u0000\"]],\"start1\":0,\"start2\":0,\"length1\":0,\"length2\":45497}]"
metadata_diff: {"new":{"id":"6b83429103fc4997a5c315a4b72c9974","parent_id":"f67288c3a0be4374b5d532b5dcc3aabc","latitude":"0.00000000","longitude":"0.00000000","altitude":"0.0000","author":"","source_url":"","is_todo":0,"todo_due":0,"todo_completed":0,"source":"joplin-desktop","source_application":"net.cozic.joplin-desktop","application_data":"","order":1764348826227,"markup_language":2,"is_shared":0,"share_id":"","conflict_original_id":"","master_key_id":"","user_data":"","deleted_time":0},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2025-11-28T21:04:02.378Z
created_time: 2025-11-28T21:04:02.378Z
type_: 13