Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2000 18:37:57 -0800
From:      Mike Smith <msmith@freebsd.org>
To:        mjacob@feral.com
Cc:        current@FreeBSD.ORG
Subject:   Re: savecore broken because kern.bootfile is set wrong 
Message-ID:  <200011110237.eAB2bw909143@mass.osd.bsdi.com>
In-Reply-To: Your message of "Fri, 10 Nov 2000 18:14:12 PST." <Pine.LNX.4.21.0011101800040.31159-100000@zeppo.feral.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Something actually was changed at some point perhaps?
> On i386, kernelname is dug out of bootinfo and copied
> (in assembler).
> 
> On alpha:
> 
>         p = getenv("kernelname");
>         if (p)
>                 strncpy(kernelname, p, sizeof(kernelname) - 1);
>  
> 
> Did the loader used to set kernelname as an environment variable?

It should still do it. (The forth code handles this)  My only Alpha is 
running -stable, and $kernelname is set correctly there (see the output 
of 'kenv').

-- 
... every activity meets with opposition, everyone who acts has his
rivals and unfortunately opponents also.  But not because people want
to be opponents, rather because the tasks and relationships force
people to take different points of view.  [Dr. Fritz Todt]
           V I C T O R Y   N O T   V E N G E A N C E




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200011110237.eAB2bw909143>