config: Enable ext4 journaling by default.
authorJordan Woyak <jordan.woyak@gmail.com>
Tue, 26 Mar 2024 01:56:06 +0000 (20:56 -0500)
committerRISCi_ATOM <bob@bobcall.me>
Thu, 11 Jul 2024 15:27:16 +0000 (11:27 -0400)
Not having a journal by default is a major "gotcha".

Because openwrt does not fsck on boot, a power loss without journaling
can result in a dirty filesystem that openwrt will mount as read-only
which requires intervention to restore the router to working order.

Signed-off-by: Jordan Woyak <jordan.woyak@gmail.com>
(cherry picked from commit f9f2426e398cf74d1098ae40317bfba677ac7560)
Link: https://github.com/openwrt/openwrt/pull/15898
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
config/Config-images.in

index 5ef9702a14f701d65446f1accec9324e90af966b..90c6f8ad9096673fe35ad29b8286d99fde32648e 100644 (file)
@@ -127,6 +127,7 @@ menu "Target Images"
                config TARGET_EXT4_JOURNAL
                        bool "Create a journaling filesystem"
                        depends on TARGET_ROOTFS_EXT4FS
+                       default y
                        help
                          Create an ext4 filesystem with a journal.