swift       12/04/22 10:59:41

  Modified:             hb-install-filesystems.xml
  Log:
  Fix bug #398749 - Improve wording on inode calculation for smaller file 
systems

Revision  Changes    Path
1.10                 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.10&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?rev=1.10&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml?r1=1.9&r2=1.10

Index: hb-install-filesystems.xml
===================================================================
RCS file: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- hb-install-filesystems.xml  17 Sep 2011 12:16:09 -0000      1.9
+++ hb-install-filesystems.xml  22 Apr 2012 10:59:41 -0000      1.10
@@ -1,11 +1,11 @@
 <?xml version='1.0' encoding="UTF-8"?>
-<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.9 
2011/09/17 12:16:09 swift Exp $ -->
+<!-- $Header: 
/var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 
1.10 2012/04/22 10:59:41 swift Exp $ -->
 <!DOCTYPE included SYSTEM "/dtd/guide.dtd">
 
 <included>
 
-<version>7</version>
-<date>2011-09-17</date>
+<version>8</version>
+<date>2012-04-22</date>
 
 <section id="filesystemsdesc">
 <title>Filesystems</title>
@@ -88,8 +88,12 @@
 filesystems prevent long delays when you boot your system and your filesystem
 happens to be in an inconsistent state. If you intend to install Gentoo on a
 very small disk (less than 4GB), then you'll need to tell ext2 to reserve 
enough
-inodes when you create the filesystem by running <c>mke2fs -T small
-/dev/&lt;device&gt;</c>.
+inodes when you create the filesystem. The <c>mke2fs</c> application uses the
+"bytes-per-inode" setting to calculate how many inodes a file system should 
have.
+By running <c>mke2fs -T small /dev/&lt;device&gt;</c> the number of inodes will
+generally quadruple for a given file system as its "bytes-per-inode" reduces 
from 
+one every 16kB to one every 4kB. You can tune this even further by using
+<c>mke2fs -i &lt;ratio&gt; /dev/&lt;device&gt;</c>.
 </p>
 
 <p>
@@ -98,9 +102,14 @@
 full data and ordered data journaling. It uses an HTree index that enables high
 performance in almost all situations. In short, ext3 is a very good and
 reliable filesystem. Ext3 is the recommended all-purpose all-platform
-filesystem. If you intend to install Gentoo on a very small disk (less than
-4GB), then you'll need to tell ext3 to reserve enough inodes when you create 
the
-filesystem by running <c>mke2fs -j -T small /dev/&lt;device&gt;</c>.
+filesystem. If you intend to install Gentoo on a
+very small disk (less than 4GB), then you'll need to tell ext2 to reserve 
enough
+inodes when you create the filesystem. The <c>mke2fs</c> application uses the
+"bytes-per-inode" setting to calculate how many inodes a file system should 
have.
+By running <c>mke2fs -j -T small /dev/&lt;device&gt;</c> the number of inodes 
will
+generally quadruple for a given file system as its "bytes-per-inode" reduces 
from 
+one every 16kB to one every 4kB. You can tune this even further by using
+<c>mke2fs -j -i &lt;ratio&gt; /dev/&lt;device&gt;</c>.
 </p>
 
 <p test="contains('x86 Alpha MIPS AMD64 arm IA64 SPARC 
HPPA',func:keyval('arch'))">




Reply via email to