[DragonFlyBSD - Submit #3270] (New) fix man pages for sysctl KERN_OSREV and KERN_OSRELDATE

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Tue May 11 09:13:59 PDT 2021


Issue #3270 has been reported by mikdusan.

----------------------------------------
Submit #3270: fix man pages for sysctl KERN_OSREV and KERN_OSRELDATE
http://bugs.dragonflybsd.org/issues/3270

* Author: mikdusan
* Status: New
* 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