Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 11:32:23 +0200
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        FreeBSD current <freebsd-current@freebsd.org>, des@freebsd.org
Subject:   Re: freebsd-version(1) enchancement
Message-ID:  <CA%2B7WWSfAxcZLrNaLZ01%2B=cdp8-rd8pRuAqpBv72vXmBohLMQwQ@mail.gmail.com>
In-Reply-To: <CA%2B7WWSeoYpJra8MD=gaCgPnLvLOFhbQ%2BzjRDaJOi1q6sfdPT9g@mail.gmail.com>
References:  <CA%2B7WWSeoYpJra8MD=gaCgPnLvLOFhbQ%2BzjRDaJOi1q6sfdPT9g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 12, 2013 at 11:16 AM, Kimmo Paasiala <kpaasial@gmail.com> wrote:
> I didn't even know this tool existed before tried to complete
> freebsd-<tab> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2B7WWSfAxcZLrNaLZ01%2B=cdp8-rd8pRuAqpBv72vXmBohLMQwQ>