On Thu, Nov 22, 2001 at 12:08:16PM +0100, Harti Brandt wrote: > It's just annoying to need a special program to get at the values. For > some parts of the MIB, like the interface MIB, even sysctl doesn't help - > you need to write a program to look at these. I still think, its easier to > read the fan speed by cat(1)-ing a file, than to fire up a special > program for this.
It really is user convenience against kernel bloat. I have a Linux device driver which tries to provice a /proc entry. The amount of printf() style crap in there is really disgusting and it does not even report half of what it should. I've long ago decided that for anything other than the trivial case a binary interface is the only way one can deal with these situations. It is unfortunate for the few of us who like Plan9, but how big a bitter pill are you prepared to swallow. Joerg -- Joerg B. Micheel Email: <[EMAIL PROTECTED]> WAND and NLANR MOAT Email: <[EMAIL PROTECTED]> The University of Waikato, CompScience Phone: +64 7 8384794 Private Bag 3105 Fax: +64 7 8585095 Hamilton, New Zealand Plan: PMA, TINE and the DAG's To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message