config: Enable ext4 journaling by default.
authorJordan Woyak <jordan.woyak@gmail.com>
Tue, 26 Mar 2024 01:56:06 +0000 (20:56 -0500)
committerHauke Mehrtens <hauke@hauke-m.de>
Fri, 29 Mar 2024 16:49:53 +0000 (17:49 +0100)
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>
config/Config-images.in

index c2d7af7a80b105f0c5a6a92a2caf63a9541e3984..6f2f92643234d6370c6f33fd664dec93efdeb7fb 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.