From owner-freebsd-alpha Tue Jun 8 12: 3:33 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from arc.hq.cti.ru (arc.hq.cti.ru [195.34.40.3]) by hub.freebsd.org (Postfix) with ESMTP id C1FA514C12 for ; Tue, 8 Jun 1999 12:03:29 -0700 (PDT) (envelope-from tejblum@arc.hq.cti.ru) Received: from arc.hq.cti.ru (localhost [127.0.0.1]) by arc.hq.cti.ru (8.9.3/8.9.0) with ESMTP id XAA35913; Tue, 8 Jun 1999 23:02:56 +0400 (MSD) Message-Id: <199906081902.XAA35913@arc.hq.cti.ru> X-Mailer: exmh version 2.0zeta 7/24/97 To: "Kenneth D. Merry" Cc: alpha@FreeBSD.ORG Subject: Re: kern.bootfile... In-reply-to: Your message of "Tue, 08 Jun 1999 12:38:56 MDT." <199906081838.MAA30040@panzer.plutotech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 08 Jun 1999 23:02:56 +0400 From: Dmitrij Tejblum Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > 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