swift 11/08/22 17:18:23
Modified: hb-install-alpha-disk.xml hb-install-arm-disk.xml
hb-install-filesystems.xml hb-install-mips-disk.xml
hb-install-x86+amd64-disk.xml
Log:
Fix bug #334167 - Mention ext4 in the handbook. Done for alpha, mips, amd64
and x86. Other arches: please verify and comment on the bug. Thanks to Maciej
Grela for reporting.
Revision Changes Path
1.31 xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml?rev=1.31&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml?rev=1.31&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml?r1=1.30&r2=1.31
Index: hb-install-alpha-disk.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- hb-install-alpha-disk.xml 15 Feb 2009 06:48:11 -0000 1.30
+++ hb-install-alpha-disk.xml 22 Aug 2011 17:18:23 -0000 1.31
@@ -4,12 +4,12 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $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 $ -->
+<!-- $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 $ -->
<sections>
-<version>9.1</version>
-<date>2009-02-15</date>
+<version>10</version>
+<date>2011-08-22</date>
<section>
<title>Introduction to Block Devices</title>
@@ -634,15 +634,19 @@
</tr>
<tr>
<ti>ext2</ti>
- <ti><c>mke2fs</c></ti>
+ <ti><c>mkfs.ext2</c></ti>
</tr>
<tr>
<ti>ext3</ti>
- <ti><c>mke2fs -j</c></ti>
+ <ti><c>mkfs.ext3</c></ti>
+</tr>
+<tr>
+ <ti>ext4</ti>
+ <ti><c>mkfs.ext4</c></ti>
</tr>
<tr>
<ti>reiserfs</ti>
- <ti><c>mkreiserfs</c></ti>
+ <ti><c>mkfs.reiserfs</c></ti>
</tr>
<tr>
<ti>xfs</ti>
@@ -660,7 +664,7 @@
</p>
<pre caption="Applying a filesystem on a partition">
-# <i>mke2fs -j /dev/sda2</i>
+# <i>mkfs.ext3 /dev/sda2</i>
</pre>
<p>
1.12 xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?rev=1.12&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?rev=1.12&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?r1=1.11&r2=1.12
Index: hb-install-arm-disk.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- hb-install-arm-disk.xml 5 Jan 2010 04:45:08 -0000 1.11
+++ hb-install-arm-disk.xml 22 Aug 2011 17:18:23 -0000 1.12
@@ -4,7 +4,7 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v 1.11
2010/01/05 04:45:08 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v 1.12
2011/08/22 17:18:23 swift Exp $ -->
<sections>
@@ -492,7 +492,7 @@
</tr>
<tr>
<ti>ext2</ti>
- <ti><c>mke2fs</c></ti>
+ <ti><c>mkfs.ext2</c></ti>
</tr>
<tr>
<ti>ext3</ti>
1.7 xml/htdocs/doc/en/handbook/hb-install-filesystems.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.7&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.7&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?r1=1.6&r2=1.7
Index: hb-install-filesystems.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- hb-install-filesystems.xml 14 Jun 2009 10:16:24 -0000 1.6
+++ hb-install-filesystems.xml 22 Aug 2011 17:18:23 -0000 1.7
@@ -1,18 +1,18 @@
<?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.6
2009/06/14 10:16:24 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.7
2011/08/22 17:18:23 swift Exp $ -->
<!DOCTYPE included SYSTEM "/dtd/guide.dtd">
<included>
-<version>4</version>
-<date>2009-06-14</date>
+<version>5</version>
+<date>2011-08-22</date>
<section id="filesystemsdesc">
<title>Filesystems</title>
<body>
<p test="contains('x86 Alpha',func:keyval('arch'))">
-The Linux kernel supports various filesystems. We'll explain ext2, ext3,
+The Linux kernel supports various filesystems. We'll explain ext2, ext3, ext4,
ReiserFS, XFS and JFS as these are the most commonly used filesystems on Linux
systems.
</p>
@@ -26,8 +26,8 @@
<p test="func:keyval('arch')='AMD64'">
Several filesystems are available. Some of them are found stable on the amd64
architecture, others aren't. The following filesystems are found to be stable:
-ext2, ext3 and XFS. JFS and ReiserFS may work but need more testing. If you're
-really adventurous you can try the other filesystems.
+ext2, ext3, ext4 and XFS. JFS and ReiserFS may work but need more testing. If
+you're really adventurous you can try the other filesystems.
</p>
<p test="func:keyval('arch')='arm'">
@@ -43,8 +43,8 @@
</p>
<p test="func:keyval('arch')='MIPS'">
-Several filesystems are available. ReiserFS, EXT2 and EXT3 are found stable on
-the MIPS architectures, others are experimental.
+Several filesystems are available. ReiserFS, EXT2, EXT3 and EXT4 are found
+stable on the MIPS architectures, others are experimental.
</p>
<p test="func:keyval('arch')='PPC'">
@@ -103,6 +103,20 @@
filesystem by running <c>mke2fs -j -T small /dev/<device></c>.
</p>
+<p test="contains('x86 Alpha MIPS AMD64',func:keyval('arch'))">
+<b>ext4</b> is a filesystem created as a fork of ext3 bringing new features,
+performance improvements and removal of size limits with moderate changes
+to the on-disk format. It can span volumes up to 1 EB and with maximum file
+size of 16 TB. Instead of the classic ext2/3 bitmap block allocation ext4 uses
+<uri
link="http://en.wikipedia.org/wiki/Extent_%28file_systems%29">extents</uri>,
+which improve large file performance and reduce fragmentation. Ext4 also
provides
+more sophisticated block allocation algorithms (delayed allocation and
multiblock
+allocation) giving the filesystem driver more ways to optimise the layout of
data
+on the disk. The ext4 filesystem is a compromise between production-grade code
+stability and the desire to introduce extensions to an almost decade old
+filesystem.
+</p>
+
</body>
<body test="not(func:keyval('arch')='SPARC')">
1.29 xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?rev=1.29&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?rev=1.29&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?r1=1.28&r2=1.29
Index: hb-install-mips-disk.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- hb-install-mips-disk.xml 27 Jul 2010 22:54:33 -0000 1.28
+++ hb-install-mips-disk.xml 22 Aug 2011 17:18:23 -0000 1.29
@@ -4,7 +4,7 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v 1.28
2010/07/27 22:54:33 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v 1.29
2011/08/22 17:18:23 swift Exp $ -->
<sections>
@@ -13,8 +13,8 @@
This chapter describes how to partition a disk for future usage.
</abstract>
-<version>4.0</version>
-<date>2010-07-27</date>
+<version>5</version>
+<date>2011-08-22</date>
<section>
<title>Introduction to Block Devices</title>
@@ -535,15 +535,15 @@
</tr>
<tr>
<ti>ext2</ti>
- <ti><c>mke2fs</c></ti>
+ <ti><c>mkfs.ext2</c></ti>
</tr>
<tr>
<ti>ext3</ti>
- <ti><c>mke2fs -j</c></ti>
+ <ti><c>mkfs.ext3</c></ti>
</tr>
<tr>
<ti>reiserfs</ti>
- <ti><c>mkreiserfs</c></ti>
+ <ti><c>mkfs.reiserfs</c></ti>
</tr>
<tr>
<ti>xfs</ti>
@@ -562,8 +562,8 @@
</p>
<pre caption="Applying a filesystem on a partition">
-# <i>mke2fs /dev/sda1</i>
-# <i>mke2fs -j /dev/sda3</i>
+# <i>mkfs.ext2 /dev/sda1</i>
+# <i>mkfs.ext3 /dev/sda3</i>
</pre>
<p>
@@ -575,7 +575,7 @@
If you're installing on a Cobalt server, remember <path>/dev/sda1</path> MUST
be of type <e>EXT2 revision 0</e>; Anything else (e.g. EXT2 revision 1, EXT3,
ReiserFS, XFS, JFS and others) <e>WILL NOT WORK!</e> You can format the
-partition using the command: <c>mke2fs -r 0 /dev/sda1</c>.
+partition using the command: <c>mkfs.ext2 -r 0 /dev/sda1</c>.
</warn>
</body>
1.14 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml
file :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.14&view=markup
plain:
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.14&content-type=text/plain
diff :
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?r1=1.13&r2=1.14
Index: hb-install-x86+amd64-disk.xml
===================================================================
RCS file:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- hb-install-x86+amd64-disk.xml 26 Jan 2009 08:04:26 -0000 1.13
+++ hb-install-x86+amd64-disk.xml 22 Aug 2011 17:18:23 -0000 1.14
@@ -4,7 +4,7 @@
<!-- The content of this document is licensed under the CC-BY-SA license -->
<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
-<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v
1.13 2009/01/26 08:04:26 nightmorph Exp $ -->
+<!-- $Header:
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v
1.14 2011/08/22 17:18:23 swift Exp $ -->
<sections>
@@ -13,8 +13,8 @@
This chapter describes how to partition a disk for future usage.
</abstract>
-<version>6.2</version>
-<date>2009-01-09</date>
+<version>7</version>
+<date>2011-08-22</date>
<section>
<title>Introduction to Block Devices</title>
@@ -503,11 +503,11 @@
</tr>
<tr>
<ti>ext2</ti>
- <ti><c>mke2fs</c></ti>
+ <ti><c>mkfs.ext2</c></ti>
</tr>
<tr>
<ti>ext3</ti>
- <ti><c>mke2fs -j</c></ti>
+ <ti><c>mkfs.ext3</c></ti>
</tr>
<tr>
<ti>reiserfs</ti>
@@ -530,8 +530,8 @@
</p>
<pre caption="Applying a filesystem on a partition">
-# <i>mke2fs /dev/sda1</i>
-# <i>mke2fs -j /dev/sda3</i>
+# <i>mkfs.ext2 /dev/sda1</i>
+# <i>mkfs.ext3 /dev/sda3</i>
</pre>
<p>