tech-embed archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem with MFS and init



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



Home | Main Index | Thread Index | Old Index