Hello Lars,

not sure about the OS you're using, probably FreeBSD (?), but you will
have to re-create the device nodes in the MFS partition under /dev after
setting up the MFS. Mounting stuff in memory is more complex than just
editing fstab.. Best done from a script from /etc/rc{whatever}. For an
OpenBSD example see these:

http://stsx.xs4all.nl/www.stsx.org/software/openbsd/mfsmount.txt
http://stsx.xs4all.nl/www.stsx.org/software/openbsd/README.mfsmount.txt

Good luck with it,

Bill


On Sat, 2007-12-22 at 20:29 +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 ?
> 
> Regards,
> -Lars
> 
> 
> _______________________________________________
> Soekris-tech mailing list
> [email protected]
> http://lists.soekris.com/mailman/listinfo/soekris-tech
-- 

"The only statistics you can trust are those you falsified yourself"

Winston Churchill

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

Reply via email to