| 1 | <?xml version='1.0' encoding="UTF-8"?> |
1 | <?xml version='1.0' encoding="UTF-8"?> |
| 2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.6 2009/06/14 10:16:24 nightmorph Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.7 2011/08/22 17:18:23 swift Exp $ --> |
| 3 | <!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
3 | <!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
| 4 | |
4 | |
| 5 | <included> |
5 | <included> |
| 6 | |
6 | |
| 7 | <version>4</version> |
7 | <version>5</version> |
| 8 | <date>2009-06-14</date> |
8 | <date>2011-08-22</date> |
| 9 | |
9 | |
| 10 | <section id="filesystemsdesc"> |
10 | <section id="filesystemsdesc"> |
| 11 | <title>Filesystems</title> |
11 | <title>Filesystems</title> |
| 12 | <body> |
12 | <body> |
| 13 | |
13 | |
| 14 | <p test="contains('x86 Alpha',func:keyval('arch'))"> |
14 | <p test="contains('x86 Alpha',func:keyval('arch'))"> |
| 15 | The Linux kernel supports various filesystems. We'll explain ext2, ext3, |
15 | The Linux kernel supports various filesystems. We'll explain ext2, ext3, ext4, |
| 16 | ReiserFS, XFS and JFS as these are the most commonly used filesystems on Linux |
16 | ReiserFS, XFS and JFS as these are the most commonly used filesystems on Linux |
| 17 | systems. |
17 | systems. |
| 18 | </p> |
18 | </p> |
| 19 | |
19 | |
| 20 | <p test="func:keyval('arch')='IA64'"> |
20 | <p test="func:keyval('arch')='IA64'"> |
| … | |
… | |
| 24 | </p> |
24 | </p> |
| 25 | |
25 | |
| 26 | <p test="func:keyval('arch')='AMD64'"> |
26 | <p test="func:keyval('arch')='AMD64'"> |
| 27 | Several filesystems are available. Some of them are found stable on the amd64 |
27 | Several filesystems are available. Some of them are found stable on the amd64 |
| 28 | architecture, others aren't. The following filesystems are found to be stable: |
28 | architecture, others aren't. The following filesystems are found to be stable: |
| 29 | ext2, ext3 and XFS. JFS and ReiserFS may work but need more testing. If you're |
29 | ext2, ext3, ext4 and XFS. JFS and ReiserFS may work but need more testing. If |
| 30 | really adventurous you can try the other filesystems. |
30 | you're really adventurous you can try the other filesystems. |
| 31 | </p> |
31 | </p> |
| 32 | |
32 | |
| 33 | <p test="func:keyval('arch')='arm'"> |
33 | <p test="func:keyval('arch')='arm'"> |
| 34 | Several filesystems are available. Some of them are found stable on the arm |
34 | Several filesystems are available. Some of them are found stable on the arm |
| 35 | architecture, others aren't. ext2 and ext3 are found to be stable. JFS, XFS and |
35 | architecture, others aren't. ext2 and ext3 are found to be stable. JFS, XFS and |
| … | |
… | |
| 41 | Several filesystems are available. Ext2, ext3, XFS and reiserfs are found |
41 | Several filesystems are available. Ext2, ext3, XFS and reiserfs are found |
| 42 | stable on the HPPA architecture. The others are very experimental. |
42 | stable on the HPPA architecture. The others are very experimental. |
| 43 | </p> |
43 | </p> |
| 44 | |
44 | |
| 45 | <p test="func:keyval('arch')='MIPS'"> |
45 | <p test="func:keyval('arch')='MIPS'"> |
| 46 | Several filesystems are available. ReiserFS, EXT2 and EXT3 are found stable on |
46 | Several filesystems are available. ReiserFS, EXT2, EXT3 and EXT4 are found |
| 47 | the MIPS architectures, others are experimental. |
47 | stable on the MIPS architectures, others are experimental. |
| 48 | </p> |
48 | </p> |
| 49 | |
49 | |
| 50 | <p test="func:keyval('arch')='PPC'"> |
50 | <p test="func:keyval('arch')='PPC'"> |
| 51 | Several filesystems are available for use on the PowerPC architecture including |
51 | Several filesystems are available for use on the PowerPC architecture including |
| 52 | ext2, ext3, ReiserFS and XFS, each with their strengths and faults. |
52 | ext2, ext3, ReiserFS and XFS, each with their strengths and faults. |
| … | |
… | |
| 101 | filesystem. If you intend to install Gentoo on a very small disk (less than |
101 | filesystem. If you intend to install Gentoo on a very small disk (less than |
| 102 | 4GB), then you'll need to tell ext3 to reserve enough inodes when you create the |
102 | 4GB), then you'll need to tell ext3 to reserve enough inodes when you create the |
| 103 | filesystem by running <c>mke2fs -j -T small /dev/<device></c>. |
103 | filesystem by running <c>mke2fs -j -T small /dev/<device></c>. |
| 104 | </p> |
104 | </p> |
| 105 | |
105 | |
|
|
106 | <p test="contains('x86 Alpha MIPS AMD64',func:keyval('arch'))"> |
|
|
107 | <b>ext4</b> is a filesystem created as a fork of ext3 bringing new features, |
|
|
108 | performance improvements and removal of size limits with moderate changes |
|
|
109 | to the on-disk format. It can span volumes up to 1 EB and with maximum file |
|
|
110 | size of 16 TB. Instead of the classic ext2/3 bitmap block allocation ext4 uses |
|
|
111 | <uri link="http://en.wikipedia.org/wiki/Extent_%28file_systems%29">extents</uri>, |
|
|
112 | which improve large file performance and reduce fragmentation. Ext4 also provides |
|
|
113 | more sophisticated block allocation algorithms (delayed allocation and multiblock |
|
|
114 | allocation) giving the filesystem driver more ways to optimise the layout of data |
|
|
115 | on the disk. The ext4 filesystem is a compromise between production-grade code |
|
|
116 | stability and the desire to introduce extensions to an almost decade old |
|
|
117 | filesystem. |
|
|
118 | </p> |
|
|
119 | |
| 106 | </body> |
120 | </body> |
| 107 | <body test="not(func:keyval('arch')='SPARC')"> |
121 | <body test="not(func:keyval('arch')='SPARC')"> |
| 108 | |
122 | |
| 109 | <p test="not(func:keyval('arch')='PPC')"> |
123 | <p test="not(func:keyval('arch')='PPC')"> |
| 110 | <b>JFS</b> is IBM's high-performance journaling filesystem. JFS is a light, |
124 | <b>JFS</b> is IBM's high-performance journaling filesystem. JFS is a light, |