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

From: Jamie Lokier (lk@tantalophile.demon.co.uk)
Date: Sat Apr 08 2000 - 05:52:02 EST


H. Peter Anvin wrote:
> The only problems we're having with device numbers is the *size of the
> unit*. SNMP doesn't have that, although it does have a numerical path
> *of arbitrary length*.

*grin*. Then just use the sequence of characters as the numerical path :-)

> As far as numbers being maintainable: I have to apply the sledgehammer
> just as much to device *names* as I have to device *numbers*... there is
> just as much of a conflict problem in the string space (/dev namespace)
> as it is in the number space. Anything else is a fallacy.

True enough. But at least strings (as opposed to sysctl) have a
hierarchy, so you can allocate a prefix to one vendor or class of device
and delegate management of that subspace.

-- Jamie

-
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 : Sat Apr 15 2000 - 21:00:11 EST