Subject: How to add a "dynamic" sysctl (NetBSD 1.6.2)?
To: None <tech-kern@netbsd.org>
From: Aliaxandr W. Pinchuk <astarot@tut.by>
List: tech-kern
Date: 08/09/2005 01:10:45
Hello, friends!
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?
--
Best regards,
Aliaxandr W. Pinchuk