diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 21a402d2e..bab61d921 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -35,6 +35,17 @@
-->
+
+ 2013-05-19
+
+
+ [bdubbs] - Expand discussion of file system types and
+ make ext4 the example LFS partition type. Fixes
+ #3346.
+
+
+
+
2013-05-15
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml
index cb49da0b4..a5b9df3d9 100644
--- a/chapter02/creatingfilesystem.xml
+++ b/chapter02/creatingfilesystem.xml
@@ -10,23 +10,49 @@
Creating a File System on the Partition
- Now that a blank partition has been set up, the file system can be created.
- The most widely-used system in the Linux world is the second extended file
- system (ext2), but with newer
- high-capacity hard disks, journaling file systems are becoming increasingly
- popular. The third extended filesystem (ext3) is a widely used enhancement to
- ext2, which adds journaling
- capabilities and is compatible with the E2fsprogs utilities.
- We will create an ext3
- file system. Instructions for creating other file systems can be found at
- .
+ Now that a blank partition has been set up, the file system can be
+ created. LFS can use any file system recognized by the Linux kernel, but the
+ most common types are ext3 and ext4. The choice of file system can be
+ complex and depends on the characteristics of the files and the size of
+ the partition. For example:
- To create an ext3 file
- system on the LFS partition, run the following:
+
+
+ ext2
+ is suitable for small partitions that are updated infrequently
+ such as /boot.
+
+
+
+ ext3
+ is an upgrade to ext2 that includes a journal
+ to help recover the partition's status in the case of an unclean
+ shutdown. It is commonly used as a general purpose file system.
+
+
+
+
+ ext4
+ is the latest version of the ext file system family of
+ partition types. It provides several new capabilties including
+ nano-second timestamps, creation and use of very large files (16 TB), and
+ speed improvements.
+
+
+
-mke2fs -jv /dev/<xxx>
+ Other file sytems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
+ useful for specialized purposes. More information about these file systems
+ can be found at .
+ LFS assumes that the root file system (/) is of type ext4. To create
+ an ext4 file system on the LFS
+ partition, run the following:
+
+mkfs -v -t ext4 /dev/<xxx>
+
+
If you are using an existing swap
partition, there is no need to format it. If a new
swap partition was created,
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index 09378afc8..5a6000f73 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -26,7 +26,7 @@
running:
mkdir -pv $LFS
-mount -v -t ext3 /dev/<xxx> $LFS
+mount -v -t ext4 /dev/<xxx> $LFS
Replace <xxx> with the designation of the LFS
partition.
@@ -36,9 +36,9 @@ mount -v -t ext3 /dev/<xxx> $LFS/usr), mount them using:
mkdir -pv $LFS
-mount -v -t ext3 /dev/<xxx> $LFS
+mount -v -t ext4 /dev/<xxx> $LFS
mkdir -v $LFS/usr
-mount -v -t ext3 /dev/<yyy> $LFS/usr
+mount -v -t ext4 /dev/<yyy> $LFS/usr
Replace <xxx> and
<yyy> with the appropriate partition
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 48775dd07..197adf866 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -41,7 +41,7 @@ EOF
with the values appropriate for the system, for example, sda2, sda5, and ext3. For details on the six
+ class="filesystem">ext4. For details on the six
fields in this file, see man 5 fstab.