From owner-freebsd-questions@FreeBSD.ORG Tue Dec 4 18:20:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDD1016A420 for ; Tue, 4 Dec 2007 18:20:39 +0000 (UTC) (envelope-from Patrick.Baldwin@studsvik.com) Received: from bostonserver.studsvik-analytic.com (firewall.studsvik-analytic.com [155.212.59.75]) by mx1.freebsd.org (Postfix) with ESMTP id 790D913C4E3 for ; Tue, 4 Dec 2007 18:20:39 +0000 (UTC) (envelope-from Patrick.Baldwin@studsvik.com) Received: from [127.0.0.1] ([192.168.169.124]) by bostonserver.studsvik-analytic.com (8.12.5/8.12.5) with ESMTP id lB4ICDXl024320; Tue, 4 Dec 2007 13:12:13 -0500 (EST) Message-ID: <47559CF4.6050605@studsvik.com> Date: Tue, 04 Dec 2007 13:31:16 -0500 From: Patrick Baldwin Organization: Studsvik Scandpower User-Agent: Thunderbird 1.5.0.13 (Windows/20070809) MIME-Version: 1.0 To: "Philip M. Gollucci" References: <4755900F.3080906@studsvik.com> <475594E1.90702@riderway.com> In-Reply-To: <475594E1.90702@riderway.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-MailScanner: Found to be clean Cc: "freebsd-questions@freebsd.org" Subject: Re: Determining kernel? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Patrick.Baldwin@studsvik.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 18:20:39 -0000 Philip M. Gollucci wrote: > Patrick Baldwin wrote: >> I was reading through the handbook section on updating, as I'd >> like to update a FreeBSD 6.2 system. One of the things I noticed >> is that you need to specify what kernel you want in the KERNCONF >> line. Is there any way to get a running FreeBSD system to tell >> me what kernel is being used? > uname -a > FreeBSD philip.hq.rws 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Nov 6 > 16:28:12 EST 2007 > pgollucci@philip.hq.rws:/usr/obj/usr/src/sys/RIDERWAY i386 > > Notice the path at the end. > OK, the path at the end for me is: /usr/obj/usr/src/sys/SMP i386 However, when I use uname -i as someone else suggested, it gives me: SMP-GENERIC So which do I substitute for MYKERNEL in the KERNCONF lines: make buildkernel KERNCONF=MYKERNEL make installkernel KERNCONF=MYKERNEL Thanks!