| … | |
… | |
| 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-ia64-disk.xml,v 1.3 2007/02/16 13:45:39 neysx Exp $ --> |
7 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-ia64-disk.xml,v 1.4 2007/05/07 18:11:41 nightmorph Exp $ --> |
| 8 | |
8 | |
| 9 | <sections> |
9 | <sections> |
| 10 | |
10 | |
| 11 | <version>2.4</version> |
11 | <version>3.0</version> |
| 12 | <date>2007-02-16</date> |
12 | <date>2007-05-07</date> |
| 13 | |
13 | |
| 14 | <section> |
14 | <section> |
| 15 | <title>Introduction to Block Devices</title> |
15 | <title>Introduction to Block Devices</title> |
| 16 | <subsection> |
16 | <subsection> |
| 17 | <title>Block Devices</title> |
17 | <title>Block Devices</title> |
| … | |
… | |
| 555 | as ext3, you would run the following commands: |
555 | as ext3, you would run the following commands: |
| 556 | </p> |
556 | </p> |
| 557 | |
557 | |
| 558 | <pre caption="Applying a filesystem on a partition"> |
558 | <pre caption="Applying a filesystem on a partition"> |
| 559 | # <i>mkdosfs /dev/sda1</i> |
559 | # <i>mkdosfs /dev/sda1</i> |
| 560 | mkdosfs 2.10 (22 Sep 2003) |
|
|
| 561 | |
|
|
| 562 | # <i>mke2fs -j -O dir_index /dev/sda3</i> |
560 | # <i>mke2fs -j /dev/sda3</i> |
| 563 | mke2fs 1.36 (05-Feb-2005) |
|
|
| 564 | Filesystem label= |
|
|
| 565 | OS type: Linux |
|
|
| 566 | Block size=4096 (log=2) |
|
|
| 567 | Fragment size=4096 (log=2) |
|
|
| 568 | 4382336 inodes, 8752348 blocks |
|
|
| 569 | 437617 blocks (5.00%) reserved for the super user |
|
|
| 570 | First data block=0 |
|
|
| 571 | 268 block groups |
|
|
| 572 | 32768 blocks per group, 32768 fragments per group |
|
|
| 573 | 16352 inodes per group |
|
|
| 574 | Superblock backups stored on blocks: |
|
|
| 575 | 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, |
|
|
| 576 | 4096000, 7962624 |
|
|
| 577 | |
|
|
| 578 | Writing inode tables: done |
|
|
| 579 | Creating journal (8192 blocks): done |
|
|
| 580 | Writing superblocks and filesystem accounting information: done |
|
|
| 581 | |
|
|
| 582 | This filesystem will be automatically checked every 26 mounts or |
|
|
| 583 | 180 days, whichever comes first. Use tune2fs -c or -i to override. |
|
|
| 584 | </pre> |
561 | </pre> |
| 585 | |
562 | |
| 586 | </body> |
563 | </body> |
| 587 | </subsection> |
564 | </subsection> |
| 588 | <subsection> |
565 | <subsection> |