aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Kara <jack@suse.cz>2021-07-12 17:43:14 +0200
committerTheodore Ts'o <tytso@mit.edu>2021-08-03 14:25:03 -0400
commit917dbe697f9258329f70a19ae02567dc441e69cd (patch)
tree481f464284c6c2398733e1d20b7e9cc31378c2d7
parent5dc82e142243b513bf73ec67b070888c576395c3 (diff)
downloade2fsprogs-917dbe697f9258329f70a19ae02567dc441e69cd.tar.gz
mke2fs: Add orphan_file feature into mke2fs.conf
Enable orphan_file feature by default in larger filesystems. Since the feature is COMPAT, older kernels will just ignore it and happily work with the filesystem as well. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--misc/mke2fs.conf.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
index 01e35cf83..d97d8d643 100644
--- a/misc/mke2fs.conf.in
+++ b/misc/mke2fs.conf.in
@@ -11,15 +11,17 @@
features = has_journal
}
ext4 = {
- features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
+ features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize,orphan_file
inode_size = 256
}
small = {
+ default_features = ^orphan_file
blocksize = 1024
inode_size = 128
inode_ratio = 4096
}
floppy = {
+ default_features = ^orphan_file
blocksize = 1024
inode_size = 128
inode_ratio = 8192