Skip to content

Commit

Permalink
config: Enable ext4 journaling by default.
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit f9f2426)
Link: openwrt/openwrt#15898
Signed-off-by: Hauke Mehrtens <[email protected]>
  • Loading branch information
jordan-woyak authored and hauke committed Jul 8, 2024
1 parent 7d135dc commit 7448f7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/Config-images.in
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 7448f7a

Please sign in to comment.