Subject: Re: phasing out mfs; make init(8) use tmpfs?
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Julio M. Merino Vidal <jmmv@NetBSD.org>
List: tech-kern
Date: 02/16/2007 16:19:04
On Fri, Feb 16, 2007 at 08:53:45AM +0900, Izumi Tsutsui wrote:
> dyoung@pobox.com wrote:
> 
> > Is there anywhere TMPFS cannot replace MFS, and work at least as well?
> > If not, is it ok if we begin to phase MFS out?
> 
> > I believe the only part of the system that depends on MFS is init(8).
> > If init(8) finds /dev/console missing, it creates /dev/ and runs MAKEDEV
> > in it.  I have attached a patch that makes init(8) use TMPFS, instead.
> 
> I think it's better to fallback to MFS if TMPFS mount fails on init(8).
> 
> Some ports don't have TMPFS by default (yet), and

That should be easy to fix ;-)  I didn't enable TMPFS on many platforms
because I left the task to their respective portmasters; there is no
technical reason to not enable it AFAICT.

-- 
Julio M. Merino Vidal <jmmv@NetBSD.org>