Subject: Re: those dumb questions
To: Ted Lemon <mellon@vix.com>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
List: port-pmax
Date: 03/16/1995 21:11:45
Andrew Gallatin (?) said:
> When going multi-user via exiting the single-user shell, disk-checks
> are skipped.  It looks like /etc/rc looks for $1 to be autobootx & it
> gets only x.  Also, ypbind is only started if the ypserv files are
> around, which seems a little strange.

It's assumed that if you're going to boot to single-user mode, you're
going to check the disks yourself.  To do it differently would cause
problems, in the case of:
	boot to multi-user
	"shutdown"
	do dumps from single user mode (or whatever operation you please)
	hit control-D to go back to multi-user mode.

The reason why ypbind checks to see if /var/yp exists is so that it
can do the right thing with the /var/yp/binding(s?) directory...

Andrew Gallatin (?) said:
> > Apparently, REAL_CLISTS wasn't defined - what kernel option gets it
> > defined?  Or should the reference in machdep.c :
> > valloc(cfree, struct cblock, nclist);
> > be protected by ifdefs? 

And Ted Lemon responded:
> Welcome to the wonderful world of building kernels from -current.
> This is probably not a pmax-specific problem.

actually, it's a problem for any ports which allocate cblocks.  You
shouldn't be allocting cblocks, as NetBSD doesn't use real clists...



cgd