Date: Wed, 28 Jun 2000 11:25:39 +0200 (CEST) From: Andrzej Bialecki <abial@webgiro.com> To: freebsd-arch@freebsd.org Subject: RFC: Dynamic sysctls, next round Message-ID: <Pine.BSF.4.20.0006281121280.95668-100000@mx.webgiro.com>
next in thread | raw e-mail | index | archive | help
Hi, http://www.freebsd.org/~abial/dyn_sysctl.tgz These patches provide support for fully dynamic sysctl manipulation. They are based on ideas of several people, including Arun Sharma, Jonathan Lemon and Doug Rabson. Thank you, guys! You can create and delete new sysctl_oid's at run time. There can be multiple users of subtrees (the oids keep a reference count). There is also a framework to help you keep track of already created oids (called 'context' - thanks to dfr for suggesting this!). These patches require fresh -current (as of 28 June 2000). You need to patch your /sys, then rebuild the kernel and restart with it. Then you should be able to load and unload example module that adds a couple of sysctl oids to the tree (check with sysctl -a). Please provide your comments. Thanks! Andrzej Bialecki // <abial@webgiro.com> WebGiro AB, Sweden (http://www.webgiro.com) // ------------------------------------------------------------------- // ------ FreeBSD: The Power to Serve. http://www.freebsd.org -------- // --- Small & Embedded FreeBSD: http://www.freebsd.org/~picobsd/ ---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0006281121280.95668-100000>