/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.30 Revision 1.31
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
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-alpha-disk.xml,v 1.30 2009/02/15 06:48:11 rane Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v 1.31 2011/08/22 17:18:23 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>9.1</version> 11<version>10</version>
12<date>2009-02-15</date> 12<date>2011-08-22</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>
18<include href="hb-install-blockdevices.xml"/> 18<include href="hb-install-blockdevices.xml"/>
19</subsection> 19</subsection>
20 20
21<subsection> 21<subsection>
22<title>Slices</title> 22<title>Slices</title>
23<body> 23<body>
24 24
25<p> 25<p>
26Although it is theoretically possible to use a full disk to house your Linux 26Although it is theoretically possible to use a full disk to house your Linux
27system, this is almost never done in practice. Instead, full disk block devices 27system, this is almost never done in practice. Instead, full disk block devices
622<title>Applying a Filesystem to a Partition</title> 622<title>Applying a Filesystem to a Partition</title>
623<body> 623<body>
624 624
625<p> 625<p>
626To create a filesystem on a partition or volume, there are tools available for 626To create a filesystem on a partition or volume, there are tools available for
627each possible filesystem: 627each possible filesystem:
628</p> 628</p>
629 629
630<table> 630<table>
631<tr> 631<tr>
632 <th>Filesystem</th> 632 <th>Filesystem</th>
633 <th>Creation Command</th> 633 <th>Creation Command</th>
634</tr> 634</tr>
635<tr> 635<tr>
636 <ti>ext2</ti> 636 <ti>ext2</ti>
637 <ti><c>mke2fs</c></ti> 637 <ti><c>mkfs.ext2</c></ti>
638</tr> 638</tr>
639<tr> 639<tr>
640 <ti>ext3</ti> 640 <ti>ext3</ti>
641 <ti><c>mke2fs -j</c></ti> 641 <ti><c>mkfs.ext3</c></ti>
642</tr>
643<tr>
644 <ti>ext4</ti>
645 <ti><c>mkfs.ext4</c></ti>
642</tr> 646</tr>
643<tr> 647<tr>
644 <ti>reiserfs</ti> 648 <ti>reiserfs</ti>
645 <ti><c>mkreiserfs</c></ti> 649 <ti><c>mkfs.reiserfs</c></ti>
646</tr> 650</tr>
647<tr> 651<tr>
648 <ti>xfs</ti> 652 <ti>xfs</ti>
649 <ti><c>mkfs.xfs</c></ti> 653 <ti><c>mkfs.xfs</c></ti>
650</tr> 654</tr>
651<tr> 655<tr>
652 <ti>jfs</ti> 656 <ti>jfs</ti>
653 <ti><c>mkfs.jfs</c></ti> 657 <ti><c>mkfs.jfs</c></ti>
654</tr> 658</tr>
655</table> 659</table>
656 660
657<p> 661<p>
658For instance, to have the root partition (<path>/dev/sda2</path> in our example) 662For instance, to have the root partition (<path>/dev/sda2</path> in our example)
659in ext3, you would use: 663in ext3, you would use:
660</p> 664</p>
661 665
662<pre caption="Applying a filesystem on a partition"> 666<pre caption="Applying a filesystem on a partition">
663# <i>mke2fs -j /dev/sda2</i> 667# <i>mkfs.ext3 /dev/sda2</i>
664</pre> 668</pre>
665 669
666<p> 670<p>
667Now create the filesystems on your newly created partitions (or logical 671Now create the filesystems on your newly created partitions (or logical
668volumes). 672volumes).
669</p> 673</p>
670 674
671</body> 675</body>
672</subsection> 676</subsection>
673<subsection> 677<subsection>
674<title>Activating the Swap Partition</title> 678<title>Activating the Swap Partition</title>
675<body> 679<body>
676 680
677<p> 681<p>
678<c>mkswap</c> is the command that is used to initialize swap partitions: 682<c>mkswap</c> is the command that is used to initialize swap partitions:

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.31

  ViewVC Help
Powered by ViewVC 1.1.20