[talk] FreeBSD question: uname info versus svn commit versus __FreeBSD_version define

George Rosamond george at ceetonetechnology.com
Thu Sep 8 15:21:07 EDT 2016


On 09/08/16 14:56, James E Keenan wrote:
> I am trying to determine whether a particular snapshot of FreeBSD
> contains code which was committed for the purpose of fixing a bug which
> I helped to report.
> 
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211743#c10 states:
> 
> #####
> Based on __FreeBSD_version define the fix is in:
> 1200004 and up
> 1100502 >= version < 1200000
> 1003507 >= version < 1100000
> #####
> 
> I have installed a Virtual Box holding a FreeBSD whose 'uname -a'
> information is as follows:
> 
> #####
> FreeBSD  12.0-CURRENT FreeBSD 12.0-CURRENT #0 r305028: Mon Aug 29
> 22:45:29 UTC 2016
> root at releng3.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
> #####
> 
> How can I determine whether that version of FreeBSD is recent enough to
> have included the code correction?

or in the dmesg or

$ svnlite info /usr/src

... for the svn revision number, which in this case is r305028

svn info /path/to/file

or browse svnweb.freebsd.org for the file and revision history.

I'm sure there are other ways... which I'd be curious about.

This is all internet-searchable stuff... but glad you asked here :)

g




More information about the talk mailing list