Subject: Re: Read-only root filesystem
To: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
From: matthew sporleder <msporleder@gmail.com>
List: netbsd-users
Date: 05/21/2007 09:19:41
On 5/21/07, Ignatios Souvatzis <ignatios@cs.uni-bonn.de> wrote:
> On Sun, May 20, 2007 at 11:30:12AM +0200, Mikael Nystr=F6m wrote:
>
> > I have other partitions that are mounted read-write so every file
> > that needs to be updated regulary resides on these partitions
> > (actually softlinks for motd/resolv.conf etc), but how about /dev?
> > Don't I need it to be read-write?
>
> Modern answer:
>
> Remove all device nodes from it. /sbin/init will create a MFS and build
> the device nodes when you boot.
>
> Ancient answer:
>
> http://2002.eurobsdcon.org/papers/#souvatzis
> http://theory.cs.uni-bonn.de/~ignatios/papers/eurobsdcon2002.sharedroot.p=
s
>


I can't help but think this would be better in rc.conf as something like:
mfsdev=3DYES

or whatever.

_Matt