freebsd-version(1) enchancement

Kimmo Paasiala kpaasial at gmail.com
Tue Nov 12 09:32:24 UTC 2013


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


More information about the freebsd-current mailing list