Closed izh1979 closed 8 years ago
Someone must test whether filesystem can be fixed by e2fsck after interruption in the middle of e2fsresize. In worst case factory-reset should be enforced.
Updated.
Updated v2.
Updated v3.
Code it self looks good to me now, have not tested it though.
:+1:
Tested Jolla C :+1:
On first boot LVM and filesystem resize can be interrupted in the middle of the process by removing a battery. It could lead to a state when LVM is resized but filesystems are not. And or init-scripts didn't try to restart resizing.
By using dot-file as an indicator of successful filesystem resize we can be sure that even after power loss resizing will continue on the next boot.
Signed-off-by: Igor Zhbanov igor.zhbanov@jolla.com