From owner-freebsd-current@FreeBSD.ORG Tue Nov 12 11:49:08 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D7F4ED0C for ; Tue, 12 Nov 2013 11:49:08 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9E104253B for ; Tue, 12 Nov 2013 11:49:08 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id n9so5090073qcw.15 for ; Tue, 12 Nov 2013 03:49:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=q79JSk7lArVxkiIUGDlsgfZ2f1WcsBTT/EGtoz84yH4=; b=gev5x8ysQQFtWXVawlDWyV+LR5ujEm43owt1Qlu6ifTVbrADqccMbJg+AhcQuqMoxV hS8zwZPy+BXhVKem6Q1FL/zShX//yg35QoyoslUOeV1CkQB0JYM6WS0GMt15MgHbnN4o q6bSBihv72CbjQgvIor9btEG5P4apjuLOZSlYEVYGMNb5jbj+ULwNtUdSN21liLspot+ N/pQ2JPvYHh2upXEsLfh11jzCGDtJldLUjiuZRnneY1mGhB1oKzRrUj8M5zft1nreZDU SZMn6ai0uLjMHSyzEjNMijiek4HWs15RvBjQDksNxAP13z4T6pEHRb19C5conzrM0xKw RfbQ== MIME-Version: 1.0 X-Received: by 10.224.129.202 with SMTP id p10mr57463408qas.84.1384256947861; Tue, 12 Nov 2013 03:49:07 -0800 (PST) Received: by 10.96.180.233 with HTTP; Tue, 12 Nov 2013 03:49:07 -0800 (PST) In-Reply-To: <861u2mj64r.fsf@nine.des.no> References: <861u2mj64r.fsf@nine.des.no> Date: Tue, 12 Nov 2013 13:49:07 +0200 Message-ID: Subject: Re: freebsd-version(1) enchancement From: Kimmo Paasiala To: =?UTF-8?Q?Dag=2DErling_Sm=C3=B8rgrav?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Nov 2013 11:49:08 -0000 On Tue, Nov 12, 2013 at 11:56 AM, Dag-Erling Sm=C3=B8rgrav wro= te: > Kimmo Paasiala writes: >> Would it make sense to also include the svnversion(1) of the system >> sources in the version output? > > No. It is not available in the most important use case for > freebsd-version(1), i.e. freebsd-update builds. > > DES > -- > Dag-Erling Sm=C3=B8rgrav - des@des.no I didn't express myself well enough I guess. What I'm after is inclusion of the svnversion(1) information to a binary that gets always built and installed as part of 'make buildworld/installworld' regardless of src.conf(5) settings so that it would be possible to identify the SVN version where the currently installed world comes from. Now that I think loader(8) is not a good candidate for that because of WITHOUT_BOOT. I was hoping that freebsd-version would be such binary but since it's only a shell script that extracts the information from various binaries it won't work unless those other binaries have that information included in them. -Kimmo