summaryrefslogtreecommitdiff
path: root/misc/mke2fs.conf
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2008-02-19 08:32:58 -0500
committerTheodore Ts'o <tytso@mit.edu>2008-04-06 17:15:38 -0400
commit3d43836fda5321dd2f286eef77d238d1da792ce2 (patch)
treefee4843b205d22a3225aa54898a16b420ad0823f /misc/mke2fs.conf
parentae389208e974c97d69640c5cbb020de0f337e0f7 (diff)
downloade2fsprogs-3d43836fda5321dd2f286eef77d238d1da792ce2.tar.gz
New mke2fs filesystem and usage types support
Provide mke2fs with a much more sophisticated system for controlling configuration parameters of a newly created filesystem based on a split filesystem and usage type system. The -t option to mke2fs was a deprecated alias to -c; it now specifies a filesystem type (ext2, ext3, ext4, etc.), while the -T option can now be a comma separated usage list. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'misc/mke2fs.conf')
-rw-r--r--misc/mke2fs.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/mke2fs.conf b/misc/mke2fs.conf
index d67593a0..b5df30ef 100644
--- a/misc/mke2fs.conf
+++ b/misc/mke2fs.conf
@@ -5,6 +5,13 @@
inode_ratio = 16384
[fs_types]
+ ext3 = {
+ features = has_journal
+ }
+ ext4 = {
+ features = has_journal,extents,flex_bg
+ inode_size = 256
+ }
small = {
blocksize = 1024
inode_size = 128
@@ -20,7 +27,9 @@
}
largefile = {
inode_ratio = 1048576
+ blocksize = -1
}
largefile4 = {
inode_ratio = 4194304
+ blocksize = -1
}