[DragonFlyBSD - Submit #3270] (Resolved) fix man pages for sysctl KERN_OSREV and KERN_OSRELDATE
bugtracker-admin at leaf.dragonflybsd.org
bugtracker-admin at leaf.dragonflybsd.org
Tue May 25 13:26:16 PDT 2021
Issue #3270 has been updated by swildner.
Status changed from New to Resolved
I've pushed it with some minor adjustments:
https://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7affb00f15f3b1d3c1493363a613e50d5f91776c
Thanks!
----------------------------------------
Submit #3270: fix man pages for sysctl KERN_OSREV and KERN_OSRELDATE
http://bugs.dragonflybsd.org/issues/3270#change-14087
* Author: mikdusan
* Status: Resolved
* Priority: Low
* Assignee:
* Category: Documentation
* Target version: master
----------------------------------------
Noticed this was incorrect when writing some os-detection userland code. Took the liberty to add some notes about the os flat number versioning scheme.
*before* : @man 3 sysctl@
<pre>
KERN_OSRELDATE
The system release date in YYYYMM format (January 1996 is encoded
as 199601).
KERN_OSREV
The system revision string.
</pre>
*after* : @man 3 sysctl@
<pre>
KERN_OSRELDATE
The same as ‘KERN_OSREV’.
KERN_OSREV
The system revision number in base-10 format Mmmmpp, representing
the following components:
Code Component
M major
mmm minor
pp patch
The minor component is an even-number for release and odd-number
for development branches.
</pre>
---Files--------------------------------
sysctl-man.diff (1.36 KB)
--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account
More information about the Submit
mailing list