/usr/src revision number

Janos Dohanics web at 3dresearch.com
Sun Mar 21 20:53:24 UTC 2021


Hello,

with svn(1) it was easy to compare the revision number of the
updated /usr/src with the installed version of FreeBSD.

For example:

# svn info /usr/src
Path: .
Working Copy Root Path: /usr/src
URL: svn://svn.freebsd.org/base/stable/12
Relative URL: ^/stable/12
Repository Root: svn://svn.freebsd.org/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 369499
Node Kind: directory
Schedule: normal
Last Changed Author: git2svn
Last Changed Rev: 369499
Last Changed Date: 2021-03-21 11:54:54 -0400 (Sun, 21 Mar 2021)

# uname -v
FreeBSD 12.2-STABLE r368820 TURTLE2021010401 

Now on my laptop I have:

# uname -v
FreeBSD 13.0-RC2 #0 releng/13.0-n244684-13c22f74953

Since I'd like to update to RC3, I did:

'git clone -b stable/13 --depth 1 https://git.freebsd.org/src.git /usr/src'

How can I find what "revision" do I have now in /usr/src and how can I
see if it is an increment compared to the installed kernel/userland?

-- 
Janos Dohanics


More information about the freebsd-questions mailing list