I'd like to move the directories that are frequently written to off of
the CF and into RAM so that / can be mounted read-only.

/tmp and /var can be managed simply by modifying /etc/fstab:

 #  /var.base has a template of directories to populat /var with
 swap /var mfs -P/var.base,-s16000,async,nosuid,nodev,noatime,rw 0 0
 swap /tmp mfs async,nosuid,nodev,noatime,rw,-s=15000 0 0
        
It's not the same with /dev, however.  I've tried a few variations, e.g.

  swap /dev mfs -P/dev.base,async,rw,-s=5000,-i=128 0 0

but none allow the system to finish booting.

What are the good ways to do work with /dev in RAM ?

Regards,
-Lars


_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to