I noticed that there were two vim swap files for /etc/chrome_dev.conf on my Chromebook, running a test image w/o rootfs verification:
.chrome_dev.conf.swo
When I tried to edit /etc/chrome_dev, I suddenly find that /dev/root is write protected. So I ran make_dev_ssd to remove rootfs verification and rebooted. I deleted the swap files, ran "vim /etc/chrome_dev.conf -n" (no swap file) and started editing. It didn't give a warning about the file being read-only when I entered edit mode. But when I tried to save, it gave an error that the file was R/O. When I exited vim, I found that /dev/root became read-only again.
There wasn't another swap file generated but there was a "chrome_dev.conf~" file that had the same contents.
What is going on here, and how can I edit /etc/chrome_dev.conf?
Simon