Page MenuHomeFreeBSD

uname(1): Clarify the -r option
ClosedPublic

Authored by gbe on Sep 10 2022, 12:21 PM.
Tags
None
Referenced Files
F122157531: D36516.diff
Wed, Jul 2, 7:32 PM
F122155958: D36516.id110629.diff
Wed, Jul 2, 7:11 PM
Unknown Object (File)
Wed, Jul 2, 11:15 AM
Unknown Object (File)
Mon, Jun 30, 7:42 AM
Unknown Object (File)
Sat, Jun 21, 6:01 PM
Unknown Object (File)
Sat, Jun 21, 6:14 AM
Unknown Object (File)
Wed, Jun 18, 9:19 AM
Unknown Object (File)
Mon, Jun 16, 1:55 AM
Subscribers

Details

Summary

It is some times hard to understand the difference between
kernel version and userland version. So clarify the -r option
of uname(1) in terms of a printed kernel version.

While here, add some cross references:

  • cross reference freebsd-version(1) in uname(1)
  • cross reference freebsd-version(1) and uname(1) in freebsd-update(8)

PR: 265594
Reported by: rwatson
MFC after: 1 week

Test Plan

mandoc output review and 'mandoc -Tlint' checks

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 47374
Build 44261: arc lint + arc unit

Event Timeline

gbe requested review of this revision.Sep 10 2022, 12:21 PM
usr.bin/uname/uname.1
85–89

Why not just s/operating system/the kernel/ in the prior sentence and not insert the first of these two sentences?

  • Condense the description of the -r flag
gbe marked an inline comment as done.Sep 14 2022, 8:01 AM
This revision is now accepted and ready to land.Sep 16 2022, 11:18 AM
This revision was automatically updated to reflect the committed changes.