From owner-freebsd-current Fri Mar 24 7:29:47 2000 Delivered-To: freebsd-current@freebsd.org Received: from mimer.webgiro.com (mimer.webgiro.com [212.209.29.5]) by hub.freebsd.org (Postfix) with ESMTP id C8D6437B758 for ; Fri, 24 Mar 2000 07:29:42 -0800 (PST) (envelope-from abial@webgiro.com) Received: by mimer.webgiro.com (Postfix, from userid 66) id C83A02DC07; Fri, 24 Mar 2000 16:33:55 +0100 (CET) Received: by mx.webgiro.com (Postfix, from userid 1001) id 8D4E17811; Fri, 24 Mar 2000 16:28:05 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mx.webgiro.com (Postfix) with ESMTP id 7F0C110E17 for ; Fri, 24 Mar 2000 16:28:05 +0100 (CET) Date: Fri, 24 Mar 2000 16:28:05 +0100 (CET) From: Andrzej Bialecki To: freebsd-current@freebsd.org Subject: Dynamic sysctls - patches for review Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, Inspired by PR kern/16928 I implemented completely dynamic creation/deletion of sysctl trees at runtime. The patches (relative to -current) can be found at: http://www.freebsd.org/~abial/dyn_sysctl.tgz Included is an example of KLD that creates some subtrees when loaded, and deletes them before unloading. I'd appreciate some feedback. Thanks! Andrzej Bialecki // 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-current" in the body of the message