Subject: Re: Read-only root filesystem
To: Mikael =?iso-8859-1?Q?Nystr=F6m?= <micke@samladtrupp.se>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: netbsd-users
Date: 05/21/2007 11:08:28
On Sun, May 20, 2007 at 11:30:12AM +0200, Mikael Nyström 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.ps
-is