People,
before you throw away /proc and rewrite it from scratch (:-) please have
a look at sysctl(2). It gives you
- a hierarchical structuring for kernel parameters
- instant /proc support representing this hiearchy in a human-readably way
- support for programmatically reading and writing this information
without relying on /proc being present, and without having to write
parsers for /proc information.
I believe Stephen Tweedie did a great job when designing this interface,
so please use it.
Thanks,
Martin