| … | |
… | |
| 2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
2 | <!DOCTYPE sections SYSTEM "/dtd/book.dtd"> |
| 3 | |
3 | |
| 4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
4 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
5 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 6 | |
6 | |
| 7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-disk.xml,v 1.27 2010/07/20 00:05:24 nightmorph Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-hppa-disk.xml,v 1.28 2011/09/17 12:16:09 swift Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>10.0</version> |
11 | <version>11</version> |
| 12 | <date>2010-07-19</date> |
12 | <date>2011-09-17</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Introduction to Block Devices</title> |
15 | <title>Introduction to Block Devices</title> |
| 16 | |
16 | |
| 17 | <subsection> |
17 | <subsection> |
| … | |
… | |
| 187 | <th>Filesystem</th> |
187 | <th>Filesystem</th> |
| 188 | <th>Creation Command</th> |
188 | <th>Creation Command</th> |
| 189 | </tr> |
189 | </tr> |
| 190 | <tr> |
190 | <tr> |
| 191 | <ti>ext2</ti> |
191 | <ti>ext2</ti> |
| 192 | <ti><c>mke2fs</c></ti> |
192 | <ti><c>mkfs.ext2</c></ti> |
| 193 | </tr> |
193 | </tr> |
| 194 | <tr> |
194 | <tr> |
| 195 | <ti>ext3</ti> |
195 | <ti>ext3</ti> |
| 196 | <ti><c>mke2fs -j</c></ti> |
196 | <ti><c>mkfs.ext3</c></ti> |
|
|
197 | </tr> |
|
|
198 | <tr> |
|
|
199 | <ti>ext4</ti> |
|
|
200 | <ti><c>mkfs.ext4</c></ti> |
| 197 | </tr> |
201 | </tr> |
| 198 | <tr> |
202 | <tr> |
| 199 | <ti>reiserfs</ti> |
203 | <ti>reiserfs</ti> |
| 200 | <ti><c>mkreiserfs</c></ti> |
204 | <ti><c>mkreiserfs</c></ti> |
| 201 | </tr> |
205 | </tr> |
| … | |
… | |
| 214 | example) in ext2 and the root partition (<path>/dev/sda4</path> in our example) |
218 | example) in ext2 and the root partition (<path>/dev/sda4</path> in our example) |
| 215 | in ext3 (as in our example), you would use: |
219 | in ext3 (as in our example), you would use: |
| 216 | </p> |
220 | </p> |
| 217 | |
221 | |
| 218 | <pre caption="Applying a filesystem on a partition"> |
222 | <pre caption="Applying a filesystem on a partition"> |
| 219 | # <i>mke2fs /dev/sda2</i> |
223 | # <i>mkfs.ext2 /dev/sda2</i> |
| 220 | # <i>mke2fs -j /dev/sda4</i> |
224 | # <i>mkfs.ext3 /dev/sda4</i> |
| 221 | </pre> |
225 | </pre> |
| 222 | |
226 | |
| 223 | <p> |
227 | <p> |
| 224 | Now create the filesystems on your newly created partitions (or logical |
228 | Now create the filesystems on your newly created partitions (or logical |
| 225 | volumes). |
229 | volumes). |