Read-only filesystem
nicholas-zww opened this issue · 3 comments
nicholas-zww commented
Discussed in #213
Originally posted by nicholas-zww November 22, 2021
how to make a read-only file system?
aiminickwong commented
mount or edit fstab with ro option. (ro, means read-only).
nicholas-zww commented
if the partition is mounted as read-only. We cannot write/save anything. What I am asking is something like file-system overlay, meaning that I will still save and modify the files, but of course, all changes wont be saved after reboot.
aiminickwong commented
An easy way is use a script control ro/rw, and the specific directory for writeable choose a separate partition mount is better.