From owner-freebsd-current@FreeBSD.ORG Tue Nov 12 09:32:24 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 CF02BDC9; Tue, 12 Nov 2013 09:32:24 +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 853DD2CDA; Tue, 12 Nov 2013 09:32:24 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id n9so5106256qcw.1 for ; Tue, 12 Nov 2013 01:32:23 -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 :content-type; bh=rRgn1ZqE6o9kCqV9l3EzTA6RZmhuUuHcSjmENdVsvdw=; b=ksA/AoZ+8zLglhHz7yMyTLIys59A+tN2xxc4MyWsdTU9UzOP/A1D6MRXfZtGePc1Zo aEuBz8Xm1RbG4BCjTeHpwXOO/uU81vTSb6Rvdfm9rZz/FgL4SCv4Nz4/Gwir7aysqthi i1qPuT/JC7s2c/TmqQDgZFHO1wPQ8nAeIZBpcWW+5iU6fEEkE1iffGFl6ITA5BNLxKyO eMpDa4qpm4FDbVONHw6klqUddpoDSsZEioyL61Vbul6j75XgkvtmAKf6rDh8FbT8Di9z atjuF6CjJEUf9QFVyfgd3xqoFgDSPPzIfjWBhnz0y8phlvrkAx9druiL0W0/raAyxZVX CoCw== MIME-Version: 1.0 X-Received: by 10.49.50.38 with SMTP id z6mr32713151qen.30.1384248743752; Tue, 12 Nov 2013 01:32:23 -0800 (PST) Received: by 10.96.180.233 with HTTP; Tue, 12 Nov 2013 01:32:23 -0800 (PST) In-Reply-To: References: Date: Tue, 12 Nov 2013 11:32:23 +0200 Message-ID: Subject: Re: freebsd-version(1) enchancement From: Kimmo Paasiala To: FreeBSD current , des@freebsd.org Content-Type: text/plain; charset=UTF-8 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 09:32:24 -0000 On Tue, Nov 12, 2013 at 11:16 AM, Kimmo Paasiala wrote: > I didn't even know this tool existed before tried to complete > freebsd- today, very nice. > > Would it make sense to also include the svnversion(1) of the system > sources in the version output? Maybe with a separate option (-u > perhaps?) if it's not ok to change the meaning of -k and -u options > anymore. > > -Kimmo Woops... I just noticed freebsd-version is nothing but a shell script. In that case could the svnversion(1) information be included in the loader(8) binary? There's already a timestamp in it like this: # strings /boot/loader | grep -A2 "bootstrap loader" FreeBSD/x86 bootstrap loader Sat Nov 9 15:29:40 EET 2013 toor@freebsd10.rdnzl.info -Kimmo