diff options
-rw-r--r-- | chapter08/e2fsprogs.xml | 27 |
1 files changed, 27 insertions, 0 deletions
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</userinput></screen> </sect2> + <sect2 id="conf-e2fsprogs" role="configuration"> + <title>Configuring E2fsprogs</title> + + <indexterm zone="conf-e2fsprogs"> + <primary sortas="e-/etc/mke2fs.conf">/etc/mke2fs.conf</primary> + </indexterm> + + <para> + <filename>/etc/mke2fs.conf</filename> contains the default value of + various command line options of <command>mke2fs</command>. 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 + <systemitem class='filesystem'>ext4</systemitem> file system with + <literal>metadata_csum_seed</literal> feature enabled. + <emphasis role='bold'>If</emphasis> you need such an utility, you may + remove the feature from the default + <systemitem class='filesystem'>ext4</systemitem> feature list with the + command: + </para> + + <screen role='nodump'><userinput>sed 's/metadata_csum_seed,//' -i /etc/mke2fs.conf</userinput></screen> + + <para> + Read the man page <filename>mke2fs.conf(5)</filename> for details. + </para> + </sect2> + <sect2 id="contents-e2fsprogs" role="content"> <title>Contents of E2fsprogs</title> |