Subject: How to add a "dynamic" sysctl (NetBSD 1.6.2)?
To: None <firstname.lastname@example.org>
From: Aliaxandr W. Pinchuk <email@example.com>
Date: 08/09/2005 01:10:45
I have done some kernel module, and I want to change his perameters by sysctl
(add new level under vfs level) when only this module is loaded (when
unloaded, added entries must be invisible - ala FreeBSD's KLD). That is to
say, use the following command to change my parameter:
#sysctl -w vfs.my_sysctl_level.my_param_max=1024
Would someone like to tell me how to implement it?
Aliaxandr W. Pinchuk