From dec630ab84146d4e0277f30c24ce13036f8392a7 Mon Sep 17 00:00:00 2001 From: Michael Olbrich Date: Sat, 24 Feb 2024 10:21:34 +0100 Subject: image-ext2: default to mke2fs mke2fs is actually maintained and generated more modern filesystems. And it can create filesystems that support timestamps beyond 2038. Signed-off-by: Michael Olbrich --- image-ext2.c | 2 +- test/ext2.config | 1 + test/ext2percent.config | 1 + test/ext3.config | 1 + test/ext4.config | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) diff --git a/image-ext2.c b/image-ext2.c index 4f74e74..a83c21e 100644 --- a/image-ext2.c +++ b/image-ext2.c @@ -209,7 +209,7 @@ static cfg_opt_t ext_opts[] = { CFG_STR("features", NULL, CFGF_NONE), CFG_STR("label", NULL, CFGF_NONE), CFG_STR("fs-timestamp", NULL, CFGF_NONE), - CFG_BOOL("use-mke2fs", cfg_false, CFGF_NONE), + CFG_BOOL("use-mke2fs", cfg_true, CFGF_NONE), CFG_STR("usage-type", NULL, CFGF_NONE), CFG_STR("mke2fs-conf", NULL, CFGF_NONE), CFG_STR("mke2fs_conf", NULL, CFGF_NONE), diff --git a/test/ext2.config b/test/ext2.config index eda252d..866a464 100644 --- a/test/ext2.config +++ b/test/ext2.config @@ -1,6 +1,7 @@ image test.ext2 { ext2 { label = "ext2test" + use-mke2fs = false fs-timestamp = "20000101000000" } size = 4M diff --git a/test/ext2percent.config b/test/ext2percent.config index f9cd848..0d731aa 100644 --- a/test/ext2percent.config +++ b/test/ext2percent.config @@ -1,6 +1,7 @@ image test.ext2 { ext2 { label = "ext2test" + use-mke2fs = false fs-timestamp = "20000101000000" } size = 100% diff --git a/test/ext3.config b/test/ext3.config index a965843..60dda68 100644 --- a/test/ext3.config +++ b/test/ext3.config @@ -1,6 +1,7 @@ image test.ext3 { ext3 { label = "ext3test" + use-mke2fs = false fs-timestamp = "20000101000000" } size = 4M diff --git a/test/ext4.config b/test/ext4.config index cd41eb2..ecc42ac 100644 --- a/test/ext4.config +++ b/test/ext4.config @@ -2,6 +2,7 @@ image test.ext4 { ext4 { label = "ext4test" fs-timestamp = "20000101000000" + use-mke2fs = false } srcpath = "root.orig" size = 4M -- cgit v1.2.3