On 2015-10-15 12:19, Paolo Aglialoro wrote:

MyTL;DR - Don't bother. I used to create "live media" read/only systems,
with MFS filesystems for read/write.

You'll find maintaining a read-only system much more difficult.

I recommend just treating your flash memory like a disk drive.  Modern
wear leveling technology means read-only CF devices are no longer
a necessity.  I run several routers with CF cards, and all filesystems
are read/write.

As to your questions:

... 1. What are the dirs I should take into account to go to ramdisk?

/dev, /etc, /var, and /tmp require write capability, and while they
do not require it, consider adding /root and /home to list of writeable
filesystems.

2. What is the correct filesystem type to put in fstab for all the entries
of point 1. in order to store them in ramdisk?

See the -P option of mount_mfs(8)

Reply via email to