Re: Suggested dual human/binary interface for proc/devfs

From: H. Peter Anvin (hpa@transmeta.com)
Date: Thu Apr 06 2000 - 03:44:34 EST


Alexander Viro wrote:
>
> On Thu, 6 Apr 2000, H. Peter Anvin wrote:
>
> > > Not likely. Names should be strings, damnit. Notice that *BSD folks seem
> > > to be moving to sysctlbyname(), which takes a _name_, not an array of
> > > magic constants as a sysctl ID. And right they are - it's UNIX, not
> > > OS/360, after all.
> > >
> >
> > Well, part of the advantage for doing that is that it would make it
> > trivial to run Linux remotely via SNMP. This is a *huge* advantage.
>
> You know, snmpd is not exactly the new thing... Why push the ugly
> interface into the kernel? Besides, if you want numbers - fine, just
> create your "numeric" tree and populate it with links to your heart's
> pleasure. Problem solved.
>

Because everyone uses SNMP, and it would be a boon to have the numbers
centrally assigned. If people have to roll their own, the MIBs will be
incompatible, which will be bad for everyone.

        -hpa

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Apr 07 2000 - 21:00:16 EST