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. Stanzas, or top-level sections, are
19 delimited by square braces: [ ]. Within each section, each line
20 defines a 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 Comments are delimited by a semicolon (';') or a hash ('#') character
53 at the beginning of the comment, and are terminated by the end of
56 Tags and values must be quoted using double quotes if they contain
57 spaces. Within a quoted string, the standard backslash interpretations
58 apply: "\en" (for the newline character),
59 "\et" (for the tab character), "\eb" (for the backspace character),
60 and "\e\e" (for the backslash character).
62 The following stanzas are used in the
64 file. They will be described in more detail in future sections of this
68 Contains relations which define the default parameters
71 In general, these defaults may be overridden by a definition in the
73 stanza, or by an command-line option provided by the user.
76 Contains relations which define defaults that should be used for specific
77 filesystem types. The filesystem type can be specified explicitly using
82 If no filesystem type is specified,
84 will use the filesystem type
86 if the filesystem size is less than or equal to 3 megabytes.
87 If the filesystem size is greater than 3 but less than or equal to
90 will use the filesystem
94 will use the default filesystem type
96 .SH THE [defaults] STANZA
97 The following relations are defined in the
102 This relation specifies the filesystems features which are enabled in
103 newly created filesystems. It may be overridden by the
105 relation found in the filesystem-type-specific subsection of
111 This relation specifies a set of features that should be added or
112 removed to the features listed in the
114 relation. It may be overridden by the filesystem-specific
116 in the filesystem-type subsection of
125 This relation specifies the default blocksize if the user does not
126 specify a blocksize on the command line, and the filesystem-type
127 specific section of the configuration file does not specify a blocksize.
130 This relation specifies the default inode ratio if the user does not
131 specify one on the command line, and the filesystem-type
132 specific section of the configuration file does not specify a default
134 .SH THE [fs_types] STANZA
137 stanza names a filesystem type which can be specified via the
141 The value of the tag is a subsection where the relations in that
142 subsection define the defaults for that filesystem type. For
161 For each filesystem type, the following tags may be used in that
162 fs_type's subsection:
165 This relation specifies the features which are enabled for this
169 This relation specifies set of features which should be enabled or
170 disabled to the features listed in the
172 relation. It may be overridden by the
174 command-line option to
178 This relation specifies the default blocksize if the user does not
179 specify a blocksize on the command line.
182 This relation specifies the default inode ratio if the user does not
183 specify one on the command line.
187 The configuration file for