> On Thu, Nov 26, 2015 at 01:30:51PM +0100, Marko Cupa?? wrote:
>
> | The reason why I am asking is the fact that I am preparing pcengines
> | apu box which needs to be read-only because of reduced sdcard wear but
> | also because it is going to be placed in remote environment with
> | frequent power outages (daily manual fscks expected if / is rw).
> |
> | I am achieving this by putting ro record in fstab for (the only) /
> | partition and moving /dev, /var and /tmp to mfs and tmpfs mounts.
> |
> | I am concerned about shutdown message about inability to dd random.seed
> | because of read-only file system. What would be the implications of not
> | writing it on shutdown?
Marko,
Rather than rolling your own (unless you are masochistic or have a serious
hacking itch), it might be easier to use one of the existing flash read-only
projects:
http://nmedia.net/flashrd
https://github.com/bconway/resflash
Just a couple of suggestions.
--Paul
[demime 1.01d removed an attachment of type application/pkcs7-signature which
had a name of smime.p7s]