[openwrt/openwrt] config: Enable ext4 journaling by default.

LEDE Commits lede-commits at lists.infradead.org
Mon Jul 8 12:17:40 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/7448f7a2d56f0d7d868fb89899df5528ab69db41

commit 7448f7a2d56f0d7d868fb89899df5528ab69db41
Author: Jordan Woyak <jordan.woyak at gmail.com>
AuthorDate: Mon Mar 25 20:56:06 2024 -0500

    config: Enable ext4 journaling by default.
    
    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 at gmail.com>
    (cherry picked from commit f9f2426e398cf74d1098ae40317bfba677ac7560)
    Link: https://github.com/openwrt/openwrt/pull/15898
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 config/Config-images.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/Config-images.in b/config/Config-images.in
index ea7b3d37c3..c32fa00c5f 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -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.
 




More information about the lede-commits mailing list