Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-filesystems.xml
Date: Sun, 22 Apr 2012 12:06:20
Message-Id: 20120422105941.5795A20047@flycatcher.gentoo.org
1 swift 12/04/22 10:59:41
2
3 Modified: hb-install-filesystems.xml
4 Log:
5 Fix bug #398749 - Improve wording on inode calculation for smaller file systems
6
7 Revision Changes Path
8 1.10 xml/htdocs/doc/en/handbook/hb-install-filesystems.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.10&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.10&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?r1=1.9&r2=1.10
13
14 Index: hb-install-filesystems.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v
17 retrieving revision 1.9
18 retrieving revision 1.10
19 diff -u -r1.9 -r1.10
20 --- hb-install-filesystems.xml 17 Sep 2011 12:16:09 -0000 1.9
21 +++ hb-install-filesystems.xml 22 Apr 2012 10:59:41 -0000 1.10
22 @@ -1,11 +1,11 @@
23 <?xml version='1.0' encoding="UTF-8"?>
24 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.9 2011/09/17 12:16:09 swift Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.10 2012/04/22 10:59:41 swift Exp $ -->
26 <!DOCTYPE included SYSTEM "/dtd/guide.dtd">
27
28 <included>
29
30 -<version>7</version>
31 -<date>2011-09-17</date>
32 +<version>8</version>
33 +<date>2012-04-22</date>
34
35 <section id="filesystemsdesc">
36 <title>Filesystems</title>
37 @@ -88,8 +88,12 @@
38 filesystems prevent long delays when you boot your system and your filesystem
39 happens to be in an inconsistent state. If you intend to install Gentoo on a
40 very small disk (less than 4GB), then you'll need to tell ext2 to reserve enough
41 -inodes when you create the filesystem by running <c>mke2fs -T small
42 -/dev/&lt;device&gt;</c>.
43 +inodes when you create the filesystem. The <c>mke2fs</c> application uses the
44 +"bytes-per-inode" setting to calculate how many inodes a file system should have.
45 +By running <c>mke2fs -T small /dev/&lt;device&gt;</c> the number of inodes will
46 +generally quadruple for a given file system as its "bytes-per-inode" reduces from
47 +one every 16kB to one every 4kB. You can tune this even further by using
48 +<c>mke2fs -i &lt;ratio&gt; /dev/&lt;device&gt;</c>.
49 </p>
50
51 <p>
52 @@ -98,9 +102,14 @@
53 full data and ordered data journaling. It uses an HTree index that enables high
54 performance in almost all situations. In short, ext3 is a very good and
55 reliable filesystem. Ext3 is the recommended all-purpose all-platform
56 -filesystem. If you intend to install Gentoo on a very small disk (less than
57 -4GB), then you'll need to tell ext3 to reserve enough inodes when you create the
58 -filesystem by running <c>mke2fs -j -T small /dev/&lt;device&gt;</c>.
59 +filesystem. If you intend to install Gentoo on a
60 +very small disk (less than 4GB), then you'll need to tell ext2 to reserve enough
61 +inodes when you create the filesystem. The <c>mke2fs</c> application uses the
62 +"bytes-per-inode" setting to calculate how many inodes a file system should have.
63 +By running <c>mke2fs -j -T small /dev/&lt;device&gt;</c> the number of inodes will
64 +generally quadruple for a given file system as its "bytes-per-inode" reduces from
65 +one every 16kB to one every 4kB. You can tune this even further by using
66 +<c>mke2fs -j -i &lt;ratio&gt; /dev/&lt;device&gt;</c>.
67 </p>
68
69 <p test="contains('x86 Alpha MIPS AMD64 arm IA64 SPARC HPPA',func:keyval('arch'))">