[Bug 251743] uname -r shows 12.2-RELEASE-p1 on 12.2-RELEASE-p2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Dec 10 22:21:20 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251743

--- Comment #3 from Evilham <contact at evilham.com> ---
Thanks, I have read both freebsd-version(1) and uname(1).

Indeed that, and seeking not to special-case FreeBSD when dealing with multiple
BSDs is where confusion comes from.

For comparison, uname(1) in other BSDs:
     -r      print the operating system release.

And from uname(1) in FreeBSD:
     -r      Write the current release level of the operating system to
             standard output.

That description would seem to imply that "12.2-RELEASE-p2" is the expected
output on a fully upgraded system.

The replies to this bug report appear to indicate that that's not supposed to
be the case, so could we patch uname(1) to reflect what uname -r actually
means?

I lack the understanding as to what the slight difference is and what exactly
uname -r means, so I don't feel confident proposing the documentation patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list