Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2007 20:36:47 +1100
From:      Peter Jeremy <peterjeremy@optushome.com.au>
To:        Luigi Rizzo <rizzo@icir.org>
Cc:        arch@freebsd.org
Subject:   Re: configurable device (and other) tables in the kernel ?
Message-ID:  <20070201093647.GA909@turion.vk2pj.dyndns.org>
In-Reply-To: <20070131115148.A60420@xorpc.icir.org>
References:  <20070131115148.A60420@xorpc.icir.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070201093647.GA909>