Subject: Re: problem with MFS and init
To: None <tech-embed@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-embed
Date: 11/02/2005 21:11:11
On Tue, Nov 01, 2005 at 05:18:10PM -0600, David Young wrote:
> > IMO, the right solution
> > here is to teach init(8) to create /dev on tmpfs instead of mfs
> > (tmpfs can grow and shrink as needed, unlike mfs). This is somewhere
> > deep down on my TODO list...
> 
> I did that last night.  It's pretty simple.  Here is a patch.

Beware that the install kernels don't have tmpfs and maybe not
union mounts, but rely on init to create a /dev.

Also note that there is code in init to handle MAKEDEV being a symlink
(probably to /etc/MAKEDEV because it is an editabel file - or maybe
because MAKEDEV.local is and has to be in the same place).

	David

-- 
David Laight: david@l8s.co.uk