Skip site navigation (1)Skip section navigation (2)
Date:      07 May 2005 10:43:12 -0400
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        Christopher Lane <colane@inteliport.com>
Cc:        questions@freebsd.org
Subject:   Re: World version
Message-ID:  <44is1v85bz.fsf@be-well.ilk.org>
In-Reply-To: <427B91DC.6060801@inteliport.com>
References:  <427B91DC.6060801@inteliport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Lane <colane@inteliport.com> 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.  



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