Subject: Re: Read-only root filesystem
To: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
From: Ingbert Meyer <imeyer@orceo.com>
List: netbsd-users
Date: 05/21/2007 14:35:38
Ignatios Souvatzis wrote:
> 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.
>
>   
But be careful:  current /sbin/init creates a MFS with only 1024 inodes, 
so you will probably 
have to tweak MAKEDEV or patch /sbin/init, if you want to do a "MAKEDEV 
all".
> Ancient answer:
>
> http://2002.eurobsdcon.org/papers/#souvatzis
> http://theory.cs.uni-bonn.de/~ignatios/papers/eurobsdcon2002.sharedroot.ps
>
> 	-is
>   


-- 
Ingbert Meyer
____________________________________
orceo GmbH
Landsberger Str. 398
81241 München
Germany

Fon: +49 89 4613-1215
Fax: +49 89 4613-1999
Email: imeyer@orceo.com
Web: http://www.orceo.com/

Geschäftsführer: Nicolas Wild
HRB 158845, Amtsgericht München
UID: DE 245 334 938
____________________________________