Re: freebsd-version(1) enchancement

From: Kimmo Paasiala <kpaasial_at_gmail.com>
Date: Tue, 12 Nov 2013 11:32:23 +0200
On Tue, Nov 12, 2013 at 11:16 AM, Kimmo Paasiala <kpaasial_at_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_at_freebsd10.rdnzl.info

-Kimmo
Received on Tue Nov 12 2013 - 08:32:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:44 UTC