How to edit /etc/fstab or any file on the read only root filesystem ?

Hello, I am discovering blendOS. I understand the containers and I read the doc. However, I still don't undertand how to write in the root read-only filesystem. I understood it is protected for security reason. But how to edit /etc/fstab ? Or to add a new script in /usr/local/bin ?
3 Replies
Asterisk
Asterisk3y ago
/etc is actually read-write, you can edit files that are in it /usr/ is read-only, if you want to add scripts, put them in a folder like ~/bin and add that folder to your PATH
sangorys
sangorysOP3y ago
Oh great thank you. How can we know which folder is in read-write ?
Asterisk
Asterisk3y ago
try to edit files in it if you can't save your changes it's read-only but only /etc and your home folder should be read-write as well as external storage obviously

Did you find this page helpful?