I want to enable
data=journal option for rootfs partition. It cannot be enabled inside
fstab as kernel complains that the journalling option cannot be changed during a remount:
[ 3.077990] EXT4-fs (mmcblk0p1): recovery complete [ 3.084907] EXT4-fs (mmcblk0p1): mounted filesystem with ordered data mode. Opts: (null) [ 4.139478] EXT4-fs (mmcblk0p1): Cannot change data mode on remount
The sensible option is to tune the journaling inside
wrapup.sh script using
tune2fs. However, the current EasyInstaller image lacks this command.
As a workaround to my problem, I currently pass
rootflags=data=journal as one of the kernel parameters, but this solution is fragile because kernel doesn’t support all mounting options and not all
tune2fs operations can be done during mounting.
It would be nice to have
tune2fs in EasyInstaller as it can serve other purposes too.