Re: init not loading? why?

From: Sean Chittenden <seanc_at_FreeBSD.org>
Date: Fri, 28 Mar 2003 15:51:06 -0800
> > Ah!  Figured it out after reading through init's src: /dev didn't
> > exist therefore the machine wouldn't start.  No good.  I may find
> > a place to stick this got'cha in the docs or add an mkdir() call
> > to init.
> 
> mkdir(2) on / is not going to work if / is readonly.  The kernel
> actually tries to do a vop_mkdir() already, I think.  The eventual
> solution is probably a rootfs (blaim mux).

Well, I haven't tested this, but I think you're right that it's
nmount() that's failing and the lack of a check on it's return value.
I haven't tested this beyond compiling it, but I suspect it'll work
and fix this corner case.  -sc

-- 
Sean Chittenden

Received on Fri Mar 28 2003 - 14:51:08 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:02 UTC