Subject: Re: phasing out mfs; make init(8) use tmpfs?
To: None <dyoung@pobox.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 02/16/2007 08:53:45
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
I guess MFS could be smaller than TMPFS on install kernels
since most sources are shared with FFS.
---
Izumi Tsutsui