Subject: Re: problem with MFS and init
To: Garrett D'Amore <garrett_damore@tadpole.com>
From: Jachym Holecek <freza@liberouter.org>
List: tech-embed
Date: 11/01/2005 20:54:06
Hello,

> If you don't have /dev populated, init is supposed to "make one" in an 
> MFS filesystem.

Yup, there's a compile-time option for this.

> I probably should file this as a PR, but I wanted to inquire before I 
> did that.  FWIW my unit has ~192MB, so its not RAM that is exhausted -- 
> just inodes in the MFS.

Bump NINODE in sbin/init/init.c (1024 currently). 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...

	Regards,
		-- Jachym Holecek