I have the following set-up:hw: RPi 3 Model Bos: 4.4.37-1-ARCH #1 SMP armv7l GNU/Linuxfile system: /boot(vfat), /(ext4), /var(ext4)partitions: three; mounted: /boot, /, /varstorage: mlc nand flash micro sdRecently I am getting kernel panic errors at boot time referring to a file in lib which turns out to be some how corrupted.kernel panic /sbin/init error while loading shared libraries  /usr/lib/libseccomp.so.2 invalid elf headerSo my theory is that since my root file system is NOT readonly and I am using nand flash and there are unexpected shutdowns, some files are getting corrupted.The goal is to make the root file system readonly so that it may solve the problem.Unfortunately I could not find any good solid source on how making a readonly root file system should be done on Arch Linux. Do you guys have any guidelines or hints?Any help is appreciated.Also posted on Arch Linux Forum: https://archlinuxarm.org/forum/viewtopic.php?f=9&t=11621
How to build a readonly root filesystem in Arch-ARM
raspberry pi;readonly;root filesystem;flash memory;arch arm