Date: Fri, 6 Mar 2009 14:49:57 -0600 (CST) From: Jamie <jamie@gnulife.org> To: Ian Bonnycastle <ibonny@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: How do I determine the FreeBSD "world" revision/version? Message-ID: <alpine.BSF.2.00.0903061446160.2078@whiskey.ihavefire.com> In-Reply-To: <bdee1eb40903061212h3ea2011erfd85cd0c0cef40fe@mail.gmail.com> References: <bdee1eb40903061212h3ea2011erfd85cd0c0cef40fe@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Ian, You can do a: "less /var/run/dmesg.boot" and near the beginning of the output it displays your system build: FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 6.3-RELEASE-p3 #3: Wed Jul 16 14:51:34 CDT 2008 james@example.foo.net:/usr/obj/usr/src/sys/BSNI This says 6.3 RELEASE, and it will also give the patchlevel (p3) - Jamie ------------------------------------------------------------- "Wherever you go, there you are!" On Fri, 6 Mar 2009, Ian Bonnycastle wrote: > Good afternoon everyone, > > I'm asking this question here because I honestly don't know where to turn to > otherwise. I've looked through forums, Google search results and the FreeBSD > handbook without a specific answer. I understand the concept that FreeBSD is > actually an OS, which is a combination of the kernel and the "world". Ports > are the extraneous userland which is not mandatory for a working system. > Now, in order to explain my question, I have to use an analogy: In Linux, > you can have a kernel version, a distribution version and software versions. > If you're running kernel 2.6.20, CentOS (as an example) 5.1, and bash > (another example) 3.2, you know that upgrading can occur at any of those > levels. > > My actual question is this: Is there a way to tell what version of the > FreeBSD world you're running outside of "uname -a", which tells you what > *kernel* version you're running? I do know that any of these can be patched > to different levels outside of what you've installed from scratch (or > upgraded to at any particular level), but with Linux, when you run the > respective commands, you get the *base* revision you started from. In > FreeBSD, "uname -a" gives you the kernel "base", and "pkg_info" will give > you the software revision base for a particular port/package. If I have a > particular FreeBSD system, and know its a modified kernel, how can I tell > what base was originally on it? I've often updated the kernel on a > 7.1-RELEASE to 7-STABLE to get more recent updates to the kernel, but the > base as been left at 7.1-RELEASE. Now, it could have been 7.0-RELEASE or > 7.x-RELEASE and after upgrading the kernel, is this informaiton stored > anywhere? > > Also, if this *is* explained somewhere, and I've missed, I honestly > apologize in advance. > > Thanks, > > Ian > > -- > So drop on the deck and flop like a fish. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.0903061446160.2078>