uname -r: release level

Polytropon freebsd at edvax.de
Wed Jan 1 07:38:22 UTC 2014

On Tue, 31 Dec 2013 23:25:54 -0800, Chris Stankevitz wrote:
> Hi,
> I just setup my freebsd machine and performed a "freebsd-update fetch
> install" which leads me to believe I am now running 9.2-RELEASE-p2.
> Of course I wanted to see for myself using "uname -r" which reports my
> "release level".
> "uname -r" is reporting 9.2-RELEASE which is not quite what I was
> expecting (I was expecting a p2 suffix).

That's a very assumptive expectation. :-)

> That doesn't interest me too
> much, but this does:
> By what mechanism does "uname -r" determine my "release level"?

The information is obtained from the running kernel. If an
update (towards a higher patchlevel) did not involve a _kernel_
update, this particular information will NOT change.

Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

More information about the freebsd-questions mailing list