ericpaulbishop / gargoyle

Gargoyle Router Management Utility
http://www.gargoyle-router.com
465 stars 222 forks source link

Enable ext4 journaling in images with ext4 filesystems #1004

Closed aimacintyre closed 2 months ago

aimacintyre commented 3 months ago

Having journaling enabled will reduce problems arising from power loss induced dirty ext4 root filesystems, which would otherwise require intervention to return the router to normal booting.

Journaling can be manually enabled on existing ext4 filesystems with tunefs.

Imported from OpenWrt main branch (commit f9f2426e398cf74d1098ae40317bfba677ac7560)

NB: - this change only affects ext4 filesystems in images that get directly written to storage media (e.g. dd'ed to SD cards or disk); currently only the x86 and bcm27xx targets build such images.