From owner-freebsd-questions@FreeBSD.ORG Sat May 7 14:43:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E932916A4DB for ; Sat, 7 May 2005 14:43:14 +0000 (GMT) Received: from mail21.sea5.speakeasy.net (mail21.sea5.speakeasy.net [69.17.117.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8E2B43D9E for ; Sat, 7 May 2005 14:43:14 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 12588 invoked from network); 7 May 2005 14:43:14 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail21.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 7 May 2005 14:43:13 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id D79C82F; Sat, 7 May 2005 10:43:12 -0400 (EDT) Sender: lowell@be-well.ilk.org To: Christopher Lane References: <427B91DC.6060801@inteliport.com> From: Lowell Gilbert Date: 07 May 2005 10:43:12 -0400 In-Reply-To: <427B91DC.6060801@inteliport.com> Message-ID: <44is1v85bz.fsf@be-well.ilk.org> Lines: 35 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii cc: questions@freebsd.org Subject: Re: World version X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 14:43:15 -0000 Christopher Lane writes: > Simple question: how can I tell what version of the system binaries > I'm running? Flame-proofing follows. > > Searches on this mailing list and google tell me 'uname -a' is the > ticket, but that doesn't seem to get what I want. No, it isn't. That gets you kernel information. > Here's the testing > I've done. > > * Install 5.3 from cd on two machines > * CVSup /usr/src on both to 5.4-STABLE > * On box #1, I configure/upgrade just the kernel (using the "old way") > * On box #2, I do the entire 'make buildworld' through 'mergemaster' > as per handbook section 19.4 > > My understanding is that on box #1 I'm running a 5.4 kernel with 5.3 > system binaries (which is a bad thing to do). Box #2 is 5.4 for > both. Here's the uname output for both boxes: > > box #1: FreeBSD name.domain 5.4-STABLE FreeBSD 5.4-STABLE #2: Thu Apr > 21 12:02:07 EDT 2005 > user@name.domain:/usr/src/sys/i386/compile/FIREWALL i386 > > box #2: FreeBSD name.domain 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri May > 6 09:46:40 EDT 2005 user@name.domain:/usr/obj/usr/src/sys/SANDBOX i386 > > I know the first box has 5.3 binaries, but uname -a doesn't indicate > that. So how can I tell the first box has mismatched kernel/userspace? I don't see that you can. Just don't do that; and if you're not sure, update kernel and world to make sure they're in synch.