From owner-freebsd-questions@FreeBSD.ORG Fri Mar 6 20:41:42 2009 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 80F50106566B for ; Fri, 6 Mar 2009 20:41:42 +0000 (UTC) (envelope-from ibonny@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 38AB28FC14 for ; Fri, 6 Mar 2009 20:41:42 +0000 (UTC) (envelope-from ibonny@gmail.com) Received: by yw-out-2324.google.com with SMTP id 2so323184ywt.13 for ; Fri, 06 Mar 2009 12:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=v+tCcOjQOWljaKt0mcq0AoYw4Dgir9ptjLnU8lXfRGs=; b=BlXY2AUylgFi3x+hF1z/uIYMjECGVLGhDvXTzjFTNyNezw7z3sFAp8nxjCqjAZzf6G Fhl8U/blvVNyiEofVk6MwNOTTtyZ6LTjc8vw0eVySrm0Y6zFgIpwsKhKnS3pjIfCXZ0U /94EAhm1Orc93lCgJX5eTAchB7uJya0pV5M78= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=P1p0G9n42EhhujIbMbxWiLuRLvtsqHCEHoPz/IArfzLPbRyOcYBk7JFdP/OHLNJcs+ KD9mvMv3HjrzMJmoSJq6UAEGO19Op8BiaOF5iuagdZI1YUPJt90JJfaZLQj7BXVh/oV7 h3tGWucckqopM091fTlDW0iHupb2lPnXPOzj8= MIME-Version: 1.0 Received: by 10.100.135.16 with SMTP id i16mr2096779and.99.1236370346226; Fri, 06 Mar 2009 12:12:26 -0800 (PST) Date: Fri, 6 Mar 2009 15:12:26 -0500 Message-ID: From: Ian Bonnycastle To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: How do I determine the FreeBSD "world" revision/version? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2009 20:41:42 -0000 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.