World version

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Sat May 7 07:43:15 PDT 2005


Christopher Lane <colane at 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 at 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 at 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.  


More information about the freebsd-questions mailing list