Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 07:32:53 -0500
From:      Brandon Gooch <jamesbrandongooch@gmail.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: finding kernel 'r' number
Message-ID:  <BANLkTinVuOd1d_g0A9VZLchhdjwMzaoNgg@mail.gmail.com>
In-Reply-To: <19961.62509.544104.427085@jerusalem.litteratus.org>
References:  <19961.62509.544104.427085@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 16, 2011 at 7:16 AM, Robert Huff <roberthuff@rcn.com> wrote:
>
> =A0 =A0 =A0 =A0For some time now, people have been referring to what buil=
d
> they're using by the 'r' number, which I believe to be part of svn.
> =A0 =A0 =A0 =A0How would one go about determining this value for the inst=
alled
> kernel?
>
>
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0Robert Huff

That would be uname(1):

$ uname -v
FreeBSD 9.0-CURRENT #0 r223017: Sun Jun 12 13:55:34 CDT 2011
root@m6500.local:/usr/obj/usr/src/sys/GENERIC

....where r223017 is the current svn revision number from which my
system is compiled (kernel and userland).

For more options, see `man uname`.

-Brandon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinVuOd1d_g0A9VZLchhdjwMzaoNgg>