e2fsprogs/SOURCES/0003-mke2fs.conf-Introduce-rhel6-rhel7-and-rhel8-fs_type.patch

39 lines
1.1 KiB
Diff
Raw Permalink Normal View History

2022-03-01 12:51:33 +00:00
From bab98a0c110b6351634547821c337c2c26167061 Mon Sep 17 00:00:00 2001
2021-11-03 23:55:33 +00:00
From: Lukas Czerner <lczerner@redhat.com>
Date: Tue, 17 Dec 2019 11:24:31 +0100
2022-03-01 12:51:33 +00:00
Subject: [PATCH] mke2fs.conf: Introduce rhel6, rhel7 and rhel8 fs_type
2021-11-03 23:55:33 +00:00
Signed-off-by: Lukas Czerner <lczerner@redhat.com>
---
misc/mke2fs.conf.in | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
2022-03-01 12:51:33 +00:00
index 05680992..b3345862 100644
2021-11-03 23:55:33 +00:00
--- a/misc/mke2fs.conf.in
+++ b/misc/mke2fs.conf.in
2022-03-01 12:51:33 +00:00
@@ -13,6 +13,20 @@
ext4 = {
2021-11-03 23:55:33 +00:00
features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
}
+ rhel6_ext4 = {
+ features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize
+ inode_size = 256
+ enable_periodic_fsck = 1
+ default_mntopts = ""
+ }
+ rhel7_ext4 = {
+ features = has_journal,extent,huge_file,flex_bg,uninit_bg,dir_nlink,extra_isize,64bit
+ inode_size = 256
+ }
+ rhel8_ext4 = {
+ features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
+ inode_size = 256
+ }
small = {
blocksize = 1024
2022-03-01 12:51:33 +00:00
inode_ratio = 4096
2021-11-03 23:55:33 +00:00
--
2.31.1