2 .\" Copyright 2006 by Theodore Ts'o. All Rights Reserved.
3 .\" This file may be copied under the terms of the GNU Public License.
5 .TH mke2fs.conf 5 "@E2FSPROGS_MONTH@ @E2FSPROGS_YEAR@" "E2fsprogs version @E2FSPROGS_VERSION@"
7 mke2fs.conf \- Configuration file for mke2fs
10 is the configuration file for
12 It controls the default parameters used by
14 when it is creating ext2 or ext3 filesystems.
18 file uses an INI-style format. Sections are delimited by
19 square braces: [ ]. Within each section, each line defines a
20 relation, which assigns tags to values, or to a subsection,
21 which contains further relations or subsections.
22 .\" Tags can be assigned multiple values
23 An example of the INI-style format used by this configuration file
38 subtag1 = subtag_value_a
40 subtag1 = subtag_value_b
42 subtag2 = subtag_value_c
52 The following sections are used in the
54 file. They will be described in more detail in future sections of this
58 Contains relations which define the default parameters
61 In general, these defaults may be overridden by a definition in the
63 section, or by an command-line option provided by the user.
66 Contains relations which define defaults that should be used for specific
67 filesystem types. The filesystem type can be specified explicitly using
72 If no filesystem type is specified,
74 will use the filesystem type
76 if the filesystem size is less than or equal to 3 megabytes.
77 If the filesystem size is greater than 3 but less than or equal to
80 will use the filesystem
84 will use the default filesystem type
86 .SH THE [defaults] SECTION
87 The following relations are defined in the
92 This relation specifies the filesystems features which are enabled in
93 newly created filesystems. It may be overriden by the
95 relation found in the filesystem-type-specific subsection of
101 This relation specifies a set of features that should be added or
102 removed to the features listed in the
104 relation. It may be overriden by the filesystem-specific
106 in the filesystem-type subection of
115 This relation specifies the default blocksize if the user does not
116 specify a blocksize on the command line, and the filesystem-type
117 specific section of the configuration file does not specify a blocksize.
120 This relation specifies the default inode ratio if the user does not
121 specify one on the command line, and the filesystem-type
122 specific section of the configuration file does not specify a default
124 .SH THE [fs_types] SECTION
127 section names a filesystem type which can be specified via the
131 The value of the tag is a subsection where the relations in that
132 subsection define the defaults for that filesystem type. For
151 For each filesystem type, the following tag may be used in that
152 fs_type's subsection:
155 This relation specifies the features which are enabled for this
159 This relation specifies set of features which should be enabled or
160 disabled to the features listed in the
162 relation. It may be overriden by the
164 command-line option to
168 This relation specifies the default blocksize if the user does not
169 specify a blocksize on the command line.
172 This relation specifies the default inode ratio if the user does not
173 specify one on the command line.
177 The configuration file for