Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Jun 1999 23:02:56 +0400
From:      Dmitrij Tejblum <tejblum@arc.hq.cti.ru>
To:        "Kenneth D. Merry" <ken@plutotech.com>
Cc:        alpha@FreeBSD.ORG
Subject:   Re: kern.bootfile... 
Message-ID:  <199906081902.XAA35913@arc.hq.cti.ru>
In-Reply-To: Your message of "Tue, 08 Jun 1999 12:38:56 MDT." <199906081838.MAA30040@panzer.plutotech.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Well, here's what happens with that patch:
> 
> {subway:/usr/home/ken:2:0} sysctl -a |grep kernel
> kern.bootfile: //kernel.test
> 
> netstat, etc., works okay, probably because the leading slash is discarded.
> 
> And here's what happens without the patch, when kernel.test2 is booted:
> 
> {subway:/usr/home/ken:1:0} sysctl -a |grep kernel
> kern.bootfile: /kernel

Uh, I am even more confused. When I tried to use bootinfo.booted_kernel to get 
the
name of the kernel, it did contain only the last component and didn't contain 
any
slash. I have had a code that deal with all the cases I could imagine, but 
decided
to not commit it as it looks too large for such a simple job.

> 
> Could it have something to do with the boot loader?  /boot/loader is from
> my buildworld on Saturday, but one thing I've noticed is that the text that
> comes up before the boot loader prompt ("FreeBSD/alpha SRM disk boot,
> Revision 0.1") is dated September, 1998.  So it sort of seems like
> /boot/loader may not be what is used here..

Perhaps. It seems like boot1 used /boot/boot2 at some point. I don't have this file
here :-).

Dima




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




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