[Soekris] mounting /dev in RAM in OpenBSD
kildau-ml at gmx.de
Sat Dec 22 19:04:10 UTC 2007
On Saturday 22 December 2007 19:51:16 Jussi Peltola wrote:
> On Sat, Dec 22, 2007 at 08:29:11PM +0200, Lars Noodén wrote:
> > 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 ?
> What writes in /dev? Isn't it just device nodes?
Openssh needs to write to some devices. (Don't know which ones..)
More information about the Soekris-tech