I absolutely love how people want to re-invent the wheel. If you want
typed access (both read AND write) in a version-independent manner, then
you really need to take a look at Simple Network Management Protocol, or
SNMP. It has everything you want: named access, types, binary data or
ASCII data or whatever data, and the ability for vendor, distribution, and
version differences to be caught quickly and easily. As new stuff is added
or changed, all you need is a replacement MIB to be able to use the stuff.
Furthermore, SNMP is script friendly in that access to the data can be
automated, with all conversions being done in userspace.
Finally, SNMP works over networks.
There are many, many security issues surrounding SNMP, but at least it
exists, is well-understood, is already implemented in multiple systems, and
it WORKS.
Why invent yet another replacement for sysctl?
My pair-o-pennies(tm) to this discussion...
Satch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/