From owner-freebsd-arch@FreeBSD.ORG Thu Feb 1 10:09:43 2007 Return-Path: X-Original-To: arch@freebsd.org Delivered-To: freebsd-arch@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AED1A16A403 for ; Thu, 1 Feb 2007 10:09:43 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (c220-239-3-125.belrs4.nsw.optusnet.com.au [220.239.3.125]) by mx1.freebsd.org (Postfix) with ESMTP id 279C313C442 for ; Thu, 1 Feb 2007 10:09:42 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from turion.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by turion.vk2pj.dyndns.org (8.13.8/8.13.8) with ESMTP id l119al2S029863; Thu, 1 Feb 2007 20:36:47 +1100 (EST) (envelope-from peter@turion.vk2pj.dyndns.org) Received: (from peter@localhost) by turion.vk2pj.dyndns.org (8.13.8/8.13.8/Submit) id l119al9C029862; Thu, 1 Feb 2007 20:36:47 +1100 (EST) (envelope-from peter) Date: Thu, 1 Feb 2007 20:36:47 +1100 From: Peter Jeremy To: Luigi Rizzo Message-ID: <20070201093647.GA909@turion.vk2pj.dyndns.org> References: <20070131115148.A60420@xorpc.icir.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <20070131115148.A60420@xorpc.icir.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.13 (2006-08-11) Cc: arch@freebsd.org Subject: Re: configurable device (and other) tables in the kernel ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Feb 2007 10:09:43 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 2007-Jan-31 11:51:48 -0800, Luigi Rizzo wrote: >What are the options to implement a mechanism that lets >userland update such tables, and maybe in a way that >is accessible to the boot loader ? It doesn't help the bootloader but /dev/FOO.ctl may be an option for dumping configuration data into a device. >The (obvious) requirements are: > + support for multiple tables with variable (maybe defined > at compile time) structure; Passing binary blobs back and forth through sysctl requires code in sysctl(8) to {en,de}code whereas the all-text approach makes the OID tree look messy. It would be nice if sysctl grew a configuration file (or maybe magic OIDs that let it retrieve the description of opaque OIDs). --=20 Peter Jeremy --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFwbSv/opHv/APuIcRApDgAJ9isxPxReoVDG32LozlCQk3gPLgAwCgpGiD n3I86K80wy5wj0yNoVqnnI0= =0+SL -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL--