Date: Tue, 22 Oct 1996 19:26:17 -0700 From: Julian Elischer <julian@whistle.com> To: current@FreeBSD.ORG Subject: AAARGGHHH!Re: [Fwd: another patch for comment] Message-ID: <326D8229.3F54BC7E@whistle.com> References: <326D7C09.794BDF32@whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
AARRGGHHHH ! this time I included TOO MUCH patch! the relevent parts are below.. htere are disadvantages to using netscape for mail.. you can't examine your inclusions before you send them! Julian Elischer wrote: > > AARG! > left out the patch! > > here it is.. > > --------------------------------------------------------------- > > Subject: another patch for comment > Date: Tue, 22 Oct 1996 18:58:11 -0700 > From: Julian Elischer <julian@whistle.com> > Organization: Whistle Communications > To: current@freebsd.org > > here's another patch I'd like to add. > > hopefully I can also eventually add a '/stand/selftest' > as well. Of course at this stage we can only test our own hardware etc. > but I'd like to add a version that can do basic sanity checks > on regular PC hardware as well. > > It's such a small change that I'd like to add it to the generic > sources rather than keep it proprietary. > > julian > > --------------------------------------------------------------- > ? 0 > Index: init_main.c > =================================================================== > RCS file: /cvs/freebsd/src/sys/kern/init_main.c,v > retrieving revision 1.49 > diff -c -r1.49 init_main.c > *** 1.49 1996/09/23 04:37:54 > --- init_main.c 1996/10/23 01:31:29 > *************** > *** 533,539 **** > * List of paths to try when searching for "init". > */ > static char *initpaths[] = { > ! "/sbin/init", > "/sbin/oinit", > "/sbin/init.bak", > "/stand/sysinstall", > --- 533,540 ---- > * List of paths to try when searching for "init". > */ > static char *initpaths[] = { > ! "/stand/selftest", /* not default, use with RB_SELFTEST */ > ! "/sbin/init", /* Default action */ > "/sbin/oinit", > "/sbin/init.bak", > "/stand/sysinstall", > *************** > *** 574,580 **** > p->p_vmspace->vm_maxsaddr = (caddr_t)addr; > p->p_vmspace->vm_ssize = 1; > > ! for (pathp = &initpaths[0]; (path = *pathp) != NULL; pathp++) { > /* > * Move out the boot flag argument. > */ > --- 575,582 ---- > p->p_vmspace->vm_maxsaddr = (caddr_t)addr; > p->p_vmspace->vm_ssize = 1; > > ! for (pathp = ((boothowto & RB_SELFTEST)? &initpaths[0] : &initpaths[1]); > ! (path = *pathp) != NULL; pathp++) { > /* > * Move out the boot flag argument. > */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?326D8229.3F54BC7E>