I have an embedded system booting Debian off from a CF card. To minimize the potential for unrecoverable corruption when non-graceful shutdowns occur, I can boot the filesystem readonly by configuring it in fstab. However, there are a handful of directories that I would like to keep read/ write. How do I keep most of my filesystem readonly with a few exceptions?
For example /dev/hda1 mounted at / is my CF card which is readonly. I have a directory, /root (within /) in which I want to be read/write.