[Soekris] mounting /dev in RAM in OpenBSD
Chris Cohen
kildau-ml at gmx.de
Sun Dec 23 08:31:34 UTC 2007
Yes, i know.
But, with my cf mounted ro I wasn't able to login via ssh. I think someone on
misc@ told me to place /dev in an mfs. Did that and everything worked fine.
I think openssh needs write access to the ttyp devices.
--
Greetings
Chris 2 :)
On Saturday 22 December 2007 20:16:33 Christopher R. Hertel wrote:
> The device nodes in /dev are part of the file system, but they are not "on
> disk", per se. Think of them as you would named pipes.
>
> Chris -)-----
>
> Chris Cohen wrote:
> > 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
mailing list