Skip to content

Conversation

@ykla
Copy link
Contributor

@ykla ykla commented Dec 1, 2025

Signed-off-by: ykla [email protected]
Sponsored by: Chinese FreeBSD Community

see also line 1328

Signed-off-by: ykla [email protected]
Sponsored by: Chinese FreeBSD Community
Signed-off-by: ykla [email protected]
Sponsored by: Chinese FreeBSD Community
@concussious
Copy link
Contributor

This is not a typo. From the manual:

The following options are available:

       -k	   Print  the version and patch	level of the installed kernel.
		   Unlike uname(1), if a new kernel has	been installed but the
		   system has not yet rebooted,	freebsd-version	will print the
		   version and patch level of the new kernel.

       -r	   Print the version and patch level of	 the  running  kernel.
		   Unlike  uname(1),  this  is unaffected by environment vari-
		   ables.

       -u	   Print the version and patch level of	 the  installed	 user-
		   land.   These are hardcoded into freebsd-version during the
		   build.

You can use -r with -k, but this might confuse users.

@pauamma
Copy link
Contributor

pauamma commented Dec 2, 2025

This is not a typo. From the manual:

That may be, but either way the inconsistency with the earlier running text should be corrected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants