Page MenuHomeFreeBSD

Add missing types to sysctl(9) man page
ClosedPublic

Authored by 0mp on Feb 20 2019, 8:46 PM.
Tags
None
Referenced Files
F80137834: D19272.id54194.diff
Thu, Mar 28, 10:52 AM
F80133820: D19272.diff
Thu, Mar 28, 9:06 AM
Unknown Object (File)
Thu, Mar 7, 4:50 AM
Unknown Object (File)
Feb 26 2024, 7:17 AM
Unknown Object (File)
Feb 14 2024, 5:15 AM
Unknown Object (File)
Jan 26 2024, 12:02 AM
Unknown Object (File)
Jan 18 2024, 2:50 AM
Unknown Object (File)
Dec 29 2023, 5:11 PM
Subscribers

Details

Summary

Several new sysctl types have been added in recent years that are not
mentioned in the main sysctl(9) man page. Update it to include these new
types among the macros/function prototypes.

Diff Detail

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

Event Timeline

mhorne063_gmail.com retitled this revision from Mention boolean type sysctls in sysctl(9) man page to Add missing types to sysctl(9) man page.
mhorne063_gmail.com edited the summary of this revision. (Show Details)
mhorne063_gmail.com added reviewers: imp, glebius.

Update the diff to include other missing sysctl types found in sysctl.h.

Some of these sysctls are already documented in other pages (e.g counter(9)
and ZONE(9)), but they should at least be mentioned here for completeness.

This patch now documents all of the following:
SYSCTL_BOOL/SYSCTL_ADD_BOOL
SYSCTL_COUNTER_U64/SYSCTL_ADD_COUNTER_U64
SYSCTL_COUNTER_U64_ARRAY/SYSCTL_ADD_COUNTER_U64_ARRAY
SYSCTL_SBINTIME_MSEC/SYSCTL_ADD_SBINTIME_MSEC
SYSCTL_SBINTIME_USEC/SYSCTL_ADD_SBINTIME_USEC
SYSCTL_UMA_CUR/SYSCTL_ADD_UMA_CUR
SYSCTL_UMA_MAX/SYSCTL_ADD_UMA_MAX

bcr added a subscriber: bcr.

OK from manpages. Can't say much about the content itself, but syntax looks good.

This revision is now accepted and ready to land.Feb 21 2019, 8:32 PM
share/man/man9/sysctl.9
61 ↗(On Diff #54194)

I've elected to break the alphabetical order here to differentiate 'UMA' prefix from the unsigned 'U' prefix. If this is undesirable let me know and I can change it back.

Great. If there's no objections can I bug one of you to commit this?

0mp added a reviewer: mhorne063_gmail.com.
This revision was automatically updated to reflect the committed changes.

Great. If there's no objections can I bug one of you to commit this?

Done! Nice work!