/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-filesystems.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.9 Revision 1.10
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.9 2011/09/17 12:16:09 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-filesystems.xml,v 1.10 2012/04/22 10:59:41 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>7</version> 7<version>8</version>
8<date>2011-09-17</date> 8<date>2012-04-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
86journaled filesystems that can be checked for consistency very quickly and are 86journaled filesystems that can be checked for consistency very quickly and are
87thus generally preferred over their non-journaled counterparts. Journaled 87thus generally preferred over their non-journaled counterparts. Journaled
88filesystems prevent long delays when you boot your system and your filesystem 88filesystems prevent long delays when you boot your system and your filesystem
89happens to be in an inconsistent state. If you intend to install Gentoo on a 89happens to be in an inconsistent state. If you intend to install Gentoo on a
90very small disk (less than 4GB), then you'll need to tell ext2 to reserve enough 90very small disk (less than 4GB), then you'll need to tell ext2 to reserve enough
91inodes when you create the filesystem by running <c>mke2fs -T small 91inodes when you create the filesystem. The <c>mke2fs</c> application uses the
92/dev/&lt;device&gt;</c>. 92"bytes-per-inode" setting to calculate how many inodes a file system should have.
93By running <c>mke2fs -T small /dev/&lt;device&gt;</c> the number of inodes will
94generally quadruple for a given file system as its "bytes-per-inode" reduces from
95one every 16kB to one every 4kB. You can tune this even further by using
96<c>mke2fs -i &lt;ratio&gt; /dev/&lt;device&gt;</c>.
93</p> 97</p>
94 98
95<p> 99<p>
96<b>ext3</b> is the journaled version of the ext2 filesystem, providing metadata 100<b>ext3</b> is the journaled version of the ext2 filesystem, providing metadata
97journaling for fast recovery in addition to other enhanced journaling modes like 101journaling for fast recovery in addition to other enhanced journaling modes like
98full data and ordered data journaling. It uses an HTree index that enables high 102full data and ordered data journaling. It uses an HTree index that enables high
99performance in almost all situations. In short, ext3 is a very good and 103performance in almost all situations. In short, ext3 is a very good and
100reliable filesystem. Ext3 is the recommended all-purpose all-platform 104reliable filesystem. Ext3 is the recommended all-purpose all-platform
101filesystem. If you intend to install Gentoo on a very small disk (less than 105filesystem. If you intend to install Gentoo on a
1024GB), then you'll need to tell ext3 to reserve enough inodes when you create the 106very small disk (less than 4GB), then you'll need to tell ext2 to reserve enough
103filesystem by running <c>mke2fs -j -T small /dev/&lt;device&gt;</c>. 107inodes when you create the filesystem. The <c>mke2fs</c> application uses the
108"bytes-per-inode" setting to calculate how many inodes a file system should have.
109By running <c>mke2fs -j -T small /dev/&lt;device&gt;</c> the number of inodes will
110generally quadruple for a given file system as its "bytes-per-inode" reduces from
111one every 16kB to one every 4kB. You can tune this even further by using
112<c>mke2fs -j -i &lt;ratio&gt; /dev/&lt;device&gt;</c>.
104</p> 113</p>
105 114
106<p test="contains('x86 Alpha MIPS AMD64 arm IA64 SPARC HPPA',func:keyval('arch'))"> 115<p test="contains('x86 Alpha MIPS AMD64 arm IA64 SPARC HPPA',func:keyval('arch'))">
107<b>ext4</b> is a filesystem created as a fork of ext3 bringing new features, 116<b>ext4</b> is a filesystem created as a fork of ext3 bringing new features,
108performance improvements and removal of size limits with moderate changes 117performance improvements and removal of size limits with moderate changes

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.20