Skip to content

Commit

Permalink
image-ext2: default to mke2fs
Browse files Browse the repository at this point in the history
mke2fs is actually maintained and generated more modern filesystems.
And it can create filesystems that support timestamps beyond 2038.

Signed-off-by: Michael Olbrich <[email protected]>
  • Loading branch information
michaelolbrich committed Mar 22, 2024
1 parent d97c672 commit dec630a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion image-ext2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
1 change: 1 addition & 0 deletions test/ext2.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image test.ext2 {
ext2 {
label = "ext2test"
use-mke2fs = false
fs-timestamp = "20000101000000"
}
size = 4M
Expand Down
1 change: 1 addition & 0 deletions test/ext2percent.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image test.ext2 {
ext2 {
label = "ext2test"
use-mke2fs = false
fs-timestamp = "20000101000000"
}
size = 100%
Expand Down
1 change: 1 addition & 0 deletions test/ext3.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
image test.ext3 {
ext3 {
label = "ext3test"
use-mke2fs = false
fs-timestamp = "20000101000000"
}
size = 4M
Expand Down
1 change: 1 addition & 0 deletions test/ext4.config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ image test.ext4 {
ext4 {
label = "ext4test"
fs-timestamp = "20000101000000"
use-mke2fs = false
}
srcpath = "root.orig"
size = 4M
Expand Down

0 comments on commit dec630a

Please sign in to comment.