From 4049a4b6c81d03fe7369473db85f36aa09712076 Mon Sep 17 00:00:00 2001 From: Xi Ruoyao Date: Sun, 19 Feb 2023 20:42:33 +0800 Subject: [PATCH] e2fsprogs: Add configuration section about mke2fs.conf --- chapter08/e2fsprogs.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/chapter08/e2fsprogs.xml b/chapter08/e2fsprogs.xml index bccf33227..68cfffd69 100644 --- a/chapter08/e2fsprogs.xml +++ b/chapter08/e2fsprogs.xml @@ -134,6 +134,33 @@ install -v -m644 doc/com_err.info /usr/share/info install-info --dir-file=/usr/share/info/dir /usr/share/info/com_err.info + + Configuring E2fsprogs + + + /etc/mke2fs.conf + + + + /etc/mke2fs.conf contains the default value of + various command line options of mke2fs. You may + edit the file to make the default values suitable for your need. + For example, some utilities (not in LFS or BLFS) cannot recognize a + ext4 file system with + metadata_csum_seed feature enabled. + If you need such an utility, you may + remove the feature from the default + ext4 feature list with the + command: + + + sed 's/metadata_csum_seed,//' -i /etc/mke2fs.conf + + + Read the man page mke2fs.conf(5) for details. + + + Contents of E2fsprogs