Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jun 2011 16:15:47 +0200
From:      Bas Smeelen <b.smeelen@ose.nl>
To:        freebsd-questions@freebsd.org
Subject:   Re: finding kernel 'r' number
Message-ID:  <4DFA1013.5050106@ose.nl>
In-Reply-To: <4DFA0722.6050603@my.gd>
References:  <19961.62509.544104.427085@jerusalem.litteratus.org>	<BANLkTinVuOd1d_g0A9VZLchhdjwMzaoNgg@mail.gmail.com>	<4DFA0282.3030207@ose.nl> <4DFA0722.6050603@my.gd>

next in thread | previous in thread | raw e-mail | index | archive | help

On 06/16/2011 03:37 PM, Damien Fleuriot wrote:
> On 6/16/11 3:17 PM, Bas Smeelen wrote:
>> On 06/16/2011 02:32 PM, Brandon Gooch wrote:
>>> 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).
>> Does this only apply if you checkout with svn ?
>> I run current on a machine, update with csup and have get r number with uname
>>
>>
> Obviously only works if you checked out with SVN:
> # uname -a
> FreeBSD mybsd 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #2: Mon Feb 21
> 12:08:09 CET 2011     root@mybsd:/usr/obj/usr/src/sys/DAM  amd64
Hmm, I better setup devel/subversion-freebsd on the current machine then



DISCLAIMER: This e-mail is for the intended recipient(s) only. Access, disclosure, copying,
distribution or reliance on any of it by anyone else is prohibited. If you have received it
by mistake please let us know by reply and then delete it from your system.




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