From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 19 08:50:34 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7012E1065672 for ; Thu, 19 Jun 2008 08:50:34 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from cpanel03.rubas-s03.net (cpanel03.rubas-s03.net [195.182.222.73]) by mx1.freebsd.org (Postfix) with ESMTP id 306838FC13 for ; Thu, 19 Jun 2008 08:50:33 +0000 (UTC) (envelope-from gahr@FreeBSD.org) Received: from [213.142.183.219] (helo=gahrtop.localhost) by cpanel03.rubas-s03.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1K9Fqg-0006VN-7f; Thu, 19 Jun 2008 10:50:30 +0200 Message-ID: <485A1DCE.7030904@FreeBSD.org> Date: Thu, 19 Jun 2008 10:50:22 +0200 From: Pietro Cerutti Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.14 (X11/20080610) MIME-Version: 1.0 To: "Zane C.B." References: <20080618185810.5c121531@vixen42> In-Reply-To: <20080618185810.5c121531@vixen42> X-Enigmail-Version: 0.95.6 OpenPGP: id=9571F78E; url=http://gahr.ch/pgp/ Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel03.rubas-s03.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - FreeBSD.org X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-hackers@freebsd.org Subject: Re: adding sysctls X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2008 08:50:34 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Zane C.B. wrote: | Any one know of any recent documentation for adding a sysctl to a | kernel module for FreeBSD 6 and 7? In addition to the what pointed out by others, I would recommend to look into /usr/share/examples/kld/dyn_sysctl for an example. - -- Pietro Cerutti gahr@FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhaHc0ACgkQwMJqmJVx946RYgCfcSCxyJKnHwVOAnoVv2E1i7PX g7cAoN9FohQIJZSd0TclD4Sd2ApKrwyP =CbOs -----END PGP SIGNATURE-----