Subject: Re: phasing out mfs; make init(8) use tmpfs?
To: None <>
From: David Laight <>
List: tech-kern
Date: 02/16/2007 17:04:40
On Thu, Feb 15, 2007 at 05:35:03PM -0600, David Young wrote:
> If init(8) finds /dev/console missing, it creates /dev/ and runs MAKEDEV
> in it.

I sometimes wonder it init could just execute MAKEDEV with a flag to
create an appropriate filesystem?
I don't think there is anything in init that couldn't be done from a
shell script - but, OTOH, I haven't tried to write it.

The only place the memory footprint may matter is in the small install
media - which is why the size of the mfs filesystem is limited.

For mfs, the cost of each device inode is (about) 128+16 bytes.


David Laight: