finding kernel 'r' number
Brandon Gooch
jamesbrandongooch at gmail.com
Thu Jun 16 12:58:52 UTC 2011
On Thu, Jun 16, 2011 at 7:16 AM, Robert Huff <roberthuff at rcn.com> wrote:
>
> For some time now, people have been referring to what build
> they're using by the 'r' number, which I believe to be part of svn.
> How would one go about determining this value for the installed
> kernel?
>
>
> Robert Huff
That would be uname(1):
$ uname -v
FreeBSD 9.0-CURRENT #0 r223017: Sun Jun 12 13:55:34 CDT 2011
root at 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
More information about the freebsd-questions
mailing list