Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 2021 16:52:25 -0400
From:      Janos Dohanics <>
To:        FreeBSD Questions <>
Subject:   /usr/src revision number
Message-ID:  <>

Next in thread | Raw E-Mail | Index | Archive | Help

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://
Relative URL: ^/stable/12
Repository Root: svn://
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 /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

Want to link to this message? Use this URL: <>