From owner-freebsd-stable@FreeBSD.ORG Thu Oct 30 00:29:52 2014 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EEB82B7 for ; Thu, 30 Oct 2014 00:29:52 +0000 (UTC) Received: from mail.ultra-secure.de (mail.ultra-secure.de [88.198.178.88]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6046FBC for ; Thu, 30 Oct 2014 00:29:51 +0000 (UTC) Received: (qmail 12848 invoked by uid 89); 30 Oct 2014 00:25:58 -0000 Received: from unknown (HELO ?192.168.1.200?) (rainer@ultra-secure.de@217.71.83.52) by mail.ultra-secure.de with ESMTPA; 30 Oct 2014 00:25:58 -0000 Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.0 \(1990.1\)) Subject: Re: Small motd nit in 10.1 From: Rainer Duffner In-Reply-To: Date: Thu, 30 Oct 2014 01:25:45 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <8C81A636-D2B5-4EFB-9EA3-58E88E16CA94@spam.lifeforms.nl> To: Warren Block X-Mailer: Apple Mail (2.1990.1) Cc: freebsd-stable@FreeBSD.org, Walter Hop X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 00:29:52 -0000 > Am 30.10.2014 um 01:14 schrieb Warren Block : >=20 > On Wed, 29 Oct 2014, Walter Hop wrote: >=20 >> I noticed that the motd has been updated, which is great. >> = https://svnweb.freebsd.org/base/releng/10.1/etc/motd?revision=3D272461&vie= w=3Dmarkup >>=20 >> However, the following line could be improved: >> Show the version of FreeBSD installed: uname -a >>=20 >> I would recommend changing the line to: >> Show the version of FreeBSD installed: freebsd-version >>=20 >> Users often confuse the kernel version (uname -a) with the actual = FreeBSD version from the freebsd-version(1) command. Because of this, = people needlessly worry whether their system was updated correctly after = freebsd-update has run, because they erroneously check this with ?uname = -a?. A small motd change will hopefully prevent that. >=20 > Sorry, I don't understand the source of confusion. >=20 > Besides the version, uname(1) also shows the architecture and kernel = config file name. If you use binary updates (which is the preferred method these days, if = I=E2=80=99m not wrong), and the update doesn=E2=80=99t touch the kernel, = the patch-level is subsequently not reflected in the output of uname -a. That=E2=80=99s why this isn=E2=80=99t a bad idea per-se. freebsd-version doesn=E2=80=99t show architecture, though, which might = be of interest.