finding kernel 'r' number

Bas Smeelen b.smeelen at ose.nl
Thu Jun 16 14:15:51 UTC 2011


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 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).
>> 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 at 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.



More information about the freebsd-questions mailing list