configurable device (and other) tables in the kernel ?

Peter Jeremy peterjeremy at optushome.com.au
Thu Feb 1 10:09:43 UTC 2007


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

-- 
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20070201/bc700057/attachment.pgp


More information about the freebsd-arch mailing list