From owner-freebsd-questions@FreeBSD.ORG Thu Apr 25 02:13:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A090F4E8 for ; Thu, 25 Apr 2013 02:13:59 +0000 (UTC) (envelope-from feld@feld.me) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) by mx1.freebsd.org (Postfix) with ESMTP id 758BF18C1 for ; Thu, 25 Apr 2013 02:13:57 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 95CDC1DD3 for ; Wed, 24 Apr 2013 22:13:56 -0400 (EDT) Received: from web4.nyi.mail.srv.osa ([10.202.2.214]) by compute1.internal (MEProxy); Wed, 24 Apr 2013 22:13:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:in-reply-to:references:subject:date; s=mesmtp; bh= Z0c1/VvHmKK52Yp7p09xrk0MXVw=; b=dejx/iSahDO8Dy5XJCPby1OIg5dCoY3k /JvE/dLgwhmcs7TGwidjyY5a40V7NKFyMj3pRI4KD4LQITH8HiEkquJ2fF8K6EMh HVt8Se9DoHSqMaQfAnZo+Ckk9poY/0tP4Qn++yaN09YwCZr9k4pE2xIfTP87sESQ BDtj/PhsHfE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=smtpout; bh=Z0c1/VvHmKK52Yp7p09xrk0MXVw=; b=O5D SBgw9jHBprvGzNsvIqhVjTA/aTq4MEnIMF+UdtZo4jRyadEmzYkfgtCKzgVeroEm eIUtZxqjkJj7f68ndZkrj08u67si0o0C3UPlwyiVAxiEllsd2maa5OlDPrPMsoVY +8LoasDpRH1o7QdDhG0lKXurE+YW16UmdUIAYrT0= Received: by web4.nyi.mail.srv.osa (Postfix, from userid 99) id 25E3C701208; Wed, 24 Apr 2013 22:13:56 -0400 (EDT) Message-Id: <1366856036.26717.140661222428210.67B5DAA6@webmail.messagingengine.com> X-Sasl-Enc: /ONsf8GDqQvkThU2/TgkF8iVIPXS2CKmSFs+7/3V8opi 1366856036 From: Mark Felder To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-a83df6b4 In-Reply-To: <517889BF.3020205@herveybayaustralia.com.au> References: <201304242307.r3ON7AEg039368@chilled.skew.org> <517889BF.3020205@herveybayaustralia.com.au> Subject: Re: FreeBSD-update? Date: Wed, 24 Apr 2013 21:13:56 -0500 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Apr 2013 02:13:59 -0000 On Wed, Apr 24, 2013, at 20:41, Da Rock wrote: > On 04/25/13 09:07, Mike Brown wrote: > > Da Rock wrote: > >> sysctl kern.version > > For me, that's the same info as in uname -a. > > > > Try this: > > > > grep -v # /usr/src/sys/conf/newvers.sh | head -4 > That shows even less. But the point of the OP was having a file in etc > with the info on version, which I fell could be redundant given the > excessive detail available in sysctl which is what it is meant for. > uname actually refers to the sysctl as a neat command for a shell user, > doesn't it? > The point is that the uname and sysctl output is inaccurate. If the latest release is -p6 and the kernel hasn't been touched since -p4, both uname and the sysctl only show -p4. It's impossible to tell otherwise that the system is really -p6 if you don't have /usr/src/.