From owner-freebsd-hackers Sat Jul 4 15:12:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA21535 for freebsd-hackers-outgoing; Sat, 4 Jul 1998 15:12:07 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from hobby.digiware.nl (hobby.digiware.nl [194.151.74.6]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA21524 for ; Sat, 4 Jul 1998 15:12:04 -0700 (PDT) (envelope-from wjw@hobby.digiware.nl) Received: (from wjw@localhost) by hobby.digiware.nl (8.8.8/8.8.5) id AAA00277 for hackers@freebsd.org; Sun, 5 Jul 1998 00:15:22 +0200 (CEST) From: Willem Jan Withagen Message-Id: <199807042215.AAA00277@hobby.digiware.nl> Subject: adding to sysctl env. To: hackers@FreeBSD.ORG Date: Sun, 5 Jul 1998 00:15:22 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL31H (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'm trying to add things to the sysctl environment, and I thought to take a simple step first: make a debug.switch for the vlink module. So I added: ---- /* * For the vlink module debugging */ static int vlinkxlatedebug = 0; SYSCTL_INT(_debug, OID_AUTO, vlinkxlate, CTLFLAG_RW, &vlinkxlatedebug, 0, ""); ---- expecting to see it apear in my sysctl -a output. But guess what: I didn't. :-{ Now I've been grepping my feed off, but I can not seem to be able to find any other information on how to do this. I've studied the "equal" debug.vfscache, but I'm still missing the clou. --WjW To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message