Date: Thu, 16 Jun 2011 15:37:38 +0200 From: Damien Fleuriot <ml@my.gd> To: freebsd-questions@freebsd.org Subject: Re: finding kernel 'r' number Message-ID: <4DFA0722.6050603@my.gd> In-Reply-To: <4DFA0282.3030207@ose.nl> References: <19961.62509.544104.427085@jerusalem.litteratus.org> <BANLkTinVuOd1d_g0A9VZLchhdjwMzaoNgg@mail.gmail.com> <4DFA0282.3030207@ose.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DFA0722.6050603>