Page MenuHomeFreeBSD

uname.1: mention the order in which kernel and userland versions are printed
ClosedPublic

Authored by danfe on Aug 6 2020, 7:46 AM.
Tags
None
Referenced Files
F155111839: D25970.diff
Fri, May 1, 11:44 AM
Unknown Object (File)
Sat, Apr 25, 6:49 AM
Unknown Object (File)
Tue, Apr 21, 10:20 AM
Unknown Object (File)
Mon, Apr 20, 11:23 PM
Unknown Object (File)
Mon, Apr 20, 8:23 PM
Unknown Object (File)
Sat, Apr 18, 7:59 PM
Unknown Object (File)
Mar 5 2026, 8:07 AM
Unknown Object (File)
Feb 7 2026, 7:40 PM
Subscribers

Details

Summary

I often invoke uname -UK to collect concise information of my environment when e.g. filing bug reports and often forget which one is which. This is important when the two numbers do not match, as I often build and run kernels from different revisions while bisecting things, etc.

Also, users might assume that the order in which they are printed depends on the relative order the -K and -U flags passed to uname(1) on the command line, which is not true. Consider proposed change to the manual page.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

danfe requested review of this revision.Aug 6 2020, 7:46 AM
0mp added a subscriber: 0mp.

LGTM

Please remember to bump the date when committing.

This revision is now accepted and ready to land.Aug 6 2020, 6:47 PM