From owner-freebsd-hackers Thu Jul 23 03:58:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA27687 for freebsd-hackers-outgoing; Thu, 23 Jul 1998 03:58:04 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from IAEhv.nl (root@iaehv.IAEhv.nl [194.151.64.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA27664 for ; Thu, 23 Jul 1998 03:58:02 -0700 (PDT) (envelope-from wjw@surf.IAE.nl) Received: from surf.IAE.nl (root@surf.IAEhv.nl [194.151.66.2]) by IAEhv.nl (8.8.7/8.8.7) with ESMTP id MAA07475 for ; Thu, 23 Jul 1998 12:57:39 +0200 (CEST) Received: (from wjw@localhost) by surf.IAE.nl (8.8.7/8.8.7) id MAA10857 for hackers@freeBSD.org; Thu, 23 Jul 1998 12:57:39 +0200 (MET DST) From: Willem Jan Withagen Message-Id: <199807231057.MAA10857@surf.IAE.nl> Subject: SYSCTL ....... To: hackers@FreeBSD.ORG Date: Thu, 23 Jul 1998 12:57:39 +0200 (MET DST) Reply-To: wjw@IAEhv.nl X-NCC-RegID: nl.iae X-Mailer: ELM [version 2.4ME+ PL40 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I was working on variant links ....... Then I needed to expand the sysctl-naming space ...... So I started looking into how to do that dynamicly ...... Turns out most of it is created by hardcoded structed which are joined in what I consider a gruesome hack with linker-sets. I've already started thinking on what I would have build. (and actually started desiging some of the code) Until I just dicsussed some of the issues with some people here. And one of the questions is: Why did Mike Karels create such a difficult way of doing this? There has to be a reason for it! What I did has some complexity in it, but it does require a PD to come up with a decend structure. Or question: Are other people looking into this? How far are they? Am I free to redo the sysctl stuff as long as I can create a glue function between the old and new systemcall? And the most important: Any body with suggestions and/or pitfalls to avoid? --WjW -- Internet Access Eindhoven BV., voice: +31-40-2 393 393, data: +31-40-2 606 606 P.O. 928, 5600 AX Eindhoven, The Netherlands Full Internet connectivity for only fl 12.95 a month. Call now, and login as 'new'. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message