Hello,
I have modified my AM335x EVM SK /etc/fstab so that my rootfs is read only. Thus far I'm happy with how things are working but I'm wondering about how tochange single files.
I'm using the EZSDK 06.00.00.00 with kernel 3.2.0 psp04.06.00.11.
If this is board I'm working on is going in a product that a user will be shutting down, I don't want my OS to get corrupted in the event of a power failure.
I know that I can change my entire file system to read/write using "mount -o rw,remount /". The trouble with this is that if a power failure occurs, the chance that my OS could get corrupted is still there since the entire OS is now read/write enabled.
What I'm wanting to know is if it is possible to change just a single file from read only to grant read/write permissions while keeping the rest of the root file system read only. For instance, I would like to keep the entire OS read only selected in the /etc/fstab file, but allow the modification of /etc/network/interfaces to allow the user to change from dhcp to a static IP.
Thanks in advance.