1 |
swift 11/08/22 17:18:23 |
2 |
|
3 |
Modified: hb-install-alpha-disk.xml hb-install-arm-disk.xml |
4 |
hb-install-filesystems.xml hb-install-mips-disk.xml |
5 |
hb-install-x86+amd64-disk.xml |
6 |
Log: |
7 |
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. |
8 |
|
9 |
Revision Changes Path |
10 |
1.31 xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml?rev=1.31&view=markup |
13 |
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 |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml?r1=1.30&r2=1.31 |
15 |
|
16 |
Index: hb-install-alpha-disk.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-alpha-disk.xml,v |
19 |
retrieving revision 1.30 |
20 |
retrieving revision 1.31 |
21 |
diff -u -r1.30 -r1.31 |
22 |
--- hb-install-alpha-disk.xml 15 Feb 2009 06:48:11 -0000 1.30 |
23 |
+++ hb-install-alpha-disk.xml 22 Aug 2011 17:18:23 -0000 1.31 |
24 |
@@ -4,12 +4,12 @@ |
25 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
26 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
27 |
|
28 |
-<!-- $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 $ --> |
29 |
+<!-- $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 $ --> |
30 |
|
31 |
<sections> |
32 |
|
33 |
-<version>9.1</version> |
34 |
-<date>2009-02-15</date> |
35 |
+<version>10</version> |
36 |
+<date>2011-08-22</date> |
37 |
|
38 |
<section> |
39 |
<title>Introduction to Block Devices</title> |
40 |
@@ -634,15 +634,19 @@ |
41 |
</tr> |
42 |
<tr> |
43 |
<ti>ext2</ti> |
44 |
- <ti><c>mke2fs</c></ti> |
45 |
+ <ti><c>mkfs.ext2</c></ti> |
46 |
</tr> |
47 |
<tr> |
48 |
<ti>ext3</ti> |
49 |
- <ti><c>mke2fs -j</c></ti> |
50 |
+ <ti><c>mkfs.ext3</c></ti> |
51 |
+</tr> |
52 |
+<tr> |
53 |
+ <ti>ext4</ti> |
54 |
+ <ti><c>mkfs.ext4</c></ti> |
55 |
</tr> |
56 |
<tr> |
57 |
<ti>reiserfs</ti> |
58 |
- <ti><c>mkreiserfs</c></ti> |
59 |
+ <ti><c>mkfs.reiserfs</c></ti> |
60 |
</tr> |
61 |
<tr> |
62 |
<ti>xfs</ti> |
63 |
@@ -660,7 +664,7 @@ |
64 |
</p> |
65 |
|
66 |
<pre caption="Applying a filesystem on a partition"> |
67 |
-# <i>mke2fs -j /dev/sda2</i> |
68 |
+# <i>mkfs.ext3 /dev/sda2</i> |
69 |
</pre> |
70 |
|
71 |
<p> |
72 |
|
73 |
|
74 |
|
75 |
1.12 xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml |
76 |
|
77 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?rev=1.12&view=markup |
78 |
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 |
79 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml?r1=1.11&r2=1.12 |
80 |
|
81 |
Index: hb-install-arm-disk.xml |
82 |
=================================================================== |
83 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-arm-disk.xml,v |
84 |
retrieving revision 1.11 |
85 |
retrieving revision 1.12 |
86 |
diff -u -r1.11 -r1.12 |
87 |
--- hb-install-arm-disk.xml 5 Jan 2010 04:45:08 -0000 1.11 |
88 |
+++ hb-install-arm-disk.xml 22 Aug 2011 17:18:23 -0000 1.12 |
89 |
@@ -4,7 +4,7 @@ |
90 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
91 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
92 |
|
93 |
-<!-- $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 $ --> |
94 |
+<!-- $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 $ --> |
95 |
|
96 |
<sections> |
97 |
|
98 |
@@ -492,7 +492,7 @@ |
99 |
</tr> |
100 |
<tr> |
101 |
<ti>ext2</ti> |
102 |
- <ti><c>mke2fs</c></ti> |
103 |
+ <ti><c>mkfs.ext2</c></ti> |
104 |
</tr> |
105 |
<tr> |
106 |
<ti>ext3</ti> |
107 |
|
108 |
|
109 |
|
110 |
1.7 xml/htdocs/doc/en/handbook/hb-install-filesystems.xml |
111 |
|
112 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.7&view=markup |
113 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.7&content-type=text/plain |
114 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?r1=1.6&r2=1.7 |
115 |
|
116 |
Index: hb-install-filesystems.xml |
117 |
=================================================================== |
118 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v |
119 |
retrieving revision 1.6 |
120 |
retrieving revision 1.7 |
121 |
diff -u -r1.6 -r1.7 |
122 |
--- hb-install-filesystems.xml 14 Jun 2009 10:16:24 -0000 1.6 |
123 |
+++ hb-install-filesystems.xml 22 Aug 2011 17:18:23 -0000 1.7 |
124 |
@@ -1,18 +1,18 @@ |
125 |
<?xml version='1.0' encoding="UTF-8"?> |
126 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.6 2009/06/14 10:16:24 nightmorph Exp $ --> |
127 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.7 2011/08/22 17:18:23 swift Exp $ --> |
128 |
<!DOCTYPE included SYSTEM "/dtd/guide.dtd"> |
129 |
|
130 |
<included> |
131 |
|
132 |
-<version>4</version> |
133 |
-<date>2009-06-14</date> |
134 |
+<version>5</version> |
135 |
+<date>2011-08-22</date> |
136 |
|
137 |
<section id="filesystemsdesc"> |
138 |
<title>Filesystems</title> |
139 |
<body> |
140 |
|
141 |
<p test="contains('x86 Alpha',func:keyval('arch'))"> |
142 |
-The Linux kernel supports various filesystems. We'll explain ext2, ext3, |
143 |
+The Linux kernel supports various filesystems. We'll explain ext2, ext3, ext4, |
144 |
ReiserFS, XFS and JFS as these are the most commonly used filesystems on Linux |
145 |
systems. |
146 |
</p> |
147 |
@@ -26,8 +26,8 @@ |
148 |
<p test="func:keyval('arch')='AMD64'"> |
149 |
Several filesystems are available. Some of them are found stable on the amd64 |
150 |
architecture, others aren't. The following filesystems are found to be stable: |
151 |
-ext2, ext3 and XFS. JFS and ReiserFS may work but need more testing. If you're |
152 |
-really adventurous you can try the other filesystems. |
153 |
+ext2, ext3, ext4 and XFS. JFS and ReiserFS may work but need more testing. If |
154 |
+you're really adventurous you can try the other filesystems. |
155 |
</p> |
156 |
|
157 |
<p test="func:keyval('arch')='arm'"> |
158 |
@@ -43,8 +43,8 @@ |
159 |
</p> |
160 |
|
161 |
<p test="func:keyval('arch')='MIPS'"> |
162 |
-Several filesystems are available. ReiserFS, EXT2 and EXT3 are found stable on |
163 |
-the MIPS architectures, others are experimental. |
164 |
+Several filesystems are available. ReiserFS, EXT2, EXT3 and EXT4 are found |
165 |
+stable on the MIPS architectures, others are experimental. |
166 |
</p> |
167 |
|
168 |
<p test="func:keyval('arch')='PPC'"> |
169 |
@@ -103,6 +103,20 @@ |
170 |
filesystem by running <c>mke2fs -j -T small /dev/<device></c>. |
171 |
</p> |
172 |
|
173 |
+<p test="contains('x86 Alpha MIPS AMD64',func:keyval('arch'))"> |
174 |
+<b>ext4</b> is a filesystem created as a fork of ext3 bringing new features, |
175 |
+performance improvements and removal of size limits with moderate changes |
176 |
+to the on-disk format. It can span volumes up to 1 EB and with maximum file |
177 |
+size of 16 TB. Instead of the classic ext2/3 bitmap block allocation ext4 uses |
178 |
+<uri link="http://en.wikipedia.org/wiki/Extent_%28file_systems%29">extents</uri>, |
179 |
+which improve large file performance and reduce fragmentation. Ext4 also provides |
180 |
+more sophisticated block allocation algorithms (delayed allocation and multiblock |
181 |
+allocation) giving the filesystem driver more ways to optimise the layout of data |
182 |
+on the disk. The ext4 filesystem is a compromise between production-grade code |
183 |
+stability and the desire to introduce extensions to an almost decade old |
184 |
+filesystem. |
185 |
+</p> |
186 |
+ |
187 |
</body> |
188 |
<body test="not(func:keyval('arch')='SPARC')"> |
189 |
|
190 |
|
191 |
|
192 |
|
193 |
1.29 xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml |
194 |
|
195 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?rev=1.29&view=markup |
196 |
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 |
197 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml?r1=1.28&r2=1.29 |
198 |
|
199 |
Index: hb-install-mips-disk.xml |
200 |
=================================================================== |
201 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-mips-disk.xml,v |
202 |
retrieving revision 1.28 |
203 |
retrieving revision 1.29 |
204 |
diff -u -r1.28 -r1.29 |
205 |
--- hb-install-mips-disk.xml 27 Jul 2010 22:54:33 -0000 1.28 |
206 |
+++ hb-install-mips-disk.xml 22 Aug 2011 17:18:23 -0000 1.29 |
207 |
@@ -4,7 +4,7 @@ |
208 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
209 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
210 |
|
211 |
-<!-- $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 $ --> |
212 |
+<!-- $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 $ --> |
213 |
|
214 |
<sections> |
215 |
|
216 |
@@ -13,8 +13,8 @@ |
217 |
This chapter describes how to partition a disk for future usage. |
218 |
</abstract> |
219 |
|
220 |
-<version>4.0</version> |
221 |
-<date>2010-07-27</date> |
222 |
+<version>5</version> |
223 |
+<date>2011-08-22</date> |
224 |
|
225 |
<section> |
226 |
<title>Introduction to Block Devices</title> |
227 |
@@ -535,15 +535,15 @@ |
228 |
</tr> |
229 |
<tr> |
230 |
<ti>ext2</ti> |
231 |
- <ti><c>mke2fs</c></ti> |
232 |
+ <ti><c>mkfs.ext2</c></ti> |
233 |
</tr> |
234 |
<tr> |
235 |
<ti>ext3</ti> |
236 |
- <ti><c>mke2fs -j</c></ti> |
237 |
+ <ti><c>mkfs.ext3</c></ti> |
238 |
</tr> |
239 |
<tr> |
240 |
<ti>reiserfs</ti> |
241 |
- <ti><c>mkreiserfs</c></ti> |
242 |
+ <ti><c>mkfs.reiserfs</c></ti> |
243 |
</tr> |
244 |
<tr> |
245 |
<ti>xfs</ti> |
246 |
@@ -562,8 +562,8 @@ |
247 |
</p> |
248 |
|
249 |
<pre caption="Applying a filesystem on a partition"> |
250 |
-# <i>mke2fs /dev/sda1</i> |
251 |
-# <i>mke2fs -j /dev/sda3</i> |
252 |
+# <i>mkfs.ext2 /dev/sda1</i> |
253 |
+# <i>mkfs.ext3 /dev/sda3</i> |
254 |
</pre> |
255 |
|
256 |
<p> |
257 |
@@ -575,7 +575,7 @@ |
258 |
If you're installing on a Cobalt server, remember <path>/dev/sda1</path> MUST |
259 |
be of type <e>EXT2 revision 0</e>; Anything else (e.g. EXT2 revision 1, EXT3, |
260 |
ReiserFS, XFS, JFS and others) <e>WILL NOT WORK!</e> You can format the |
261 |
-partition using the command: <c>mke2fs -r 0 /dev/sda1</c>. |
262 |
+partition using the command: <c>mkfs.ext2 -r 0 /dev/sda1</c>. |
263 |
</warn> |
264 |
|
265 |
</body> |
266 |
|
267 |
|
268 |
|
269 |
1.14 xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml |
270 |
|
271 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml?rev=1.14&view=markup |
272 |
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 |
273 |
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 |
274 |
|
275 |
Index: hb-install-x86+amd64-disk.xml |
276 |
=================================================================== |
277 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-x86+amd64-disk.xml,v |
278 |
retrieving revision 1.13 |
279 |
retrieving revision 1.14 |
280 |
diff -u -r1.13 -r1.14 |
281 |
--- hb-install-x86+amd64-disk.xml 26 Jan 2009 08:04:26 -0000 1.13 |
282 |
+++ hb-install-x86+amd64-disk.xml 22 Aug 2011 17:18:23 -0000 1.14 |
283 |
@@ -4,7 +4,7 @@ |
284 |
<!-- The content of this document is licensed under the CC-BY-SA license --> |
285 |
<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
286 |
|
287 |
-<!-- $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 $ --> |
288 |
+<!-- $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 $ --> |
289 |
|
290 |
<sections> |
291 |
|
292 |
@@ -13,8 +13,8 @@ |
293 |
This chapter describes how to partition a disk for future usage. |
294 |
</abstract> |
295 |
|
296 |
-<version>6.2</version> |
297 |
-<date>2009-01-09</date> |
298 |
+<version>7</version> |
299 |
+<date>2011-08-22</date> |
300 |
|
301 |
<section> |
302 |
<title>Introduction to Block Devices</title> |
303 |
@@ -503,11 +503,11 @@ |
304 |
</tr> |
305 |
<tr> |
306 |
<ti>ext2</ti> |
307 |
- <ti><c>mke2fs</c></ti> |
308 |
+ <ti><c>mkfs.ext2</c></ti> |
309 |
</tr> |
310 |
<tr> |
311 |
<ti>ext3</ti> |
312 |
- <ti><c>mke2fs -j</c></ti> |
313 |
+ <ti><c>mkfs.ext3</c></ti> |
314 |
</tr> |
315 |
<tr> |
316 |
<ti>reiserfs</ti> |
317 |
@@ -530,8 +530,8 @@ |
318 |
</p> |
319 |
|
320 |
<pre caption="Applying a filesystem on a partition"> |
321 |
-# <i>mke2fs /dev/sda1</i> |
322 |
-# <i>mke2fs -j /dev/sda3</i> |
323 |
+# <i>mkfs.ext2 /dev/sda1</i> |
324 |
+# <i>mkfs.ext3 /dev/sda3</i> |
325 |
</pre> |
326 |
|
327 |
<p> |