Re: Yet another design for /proc. Or actually /kernel.

From: Daniel R. Warner (drwarner@mail.myrealbox.com)
Date: Wed Nov 07 2001 - 14:42:48 EST


Erik Hensema wrote:

> Here's my go at a new design for /proc. I designed it from a userland
> point of view and tried not to drown myself into details.

<snip>

> - Multiple values per file when needed
> A file is a two dimensional array: it has lines and every line
> can consist of multiple fields.
> A good example of this is the current /proc/mounts.
> This can be parsed very easily in all languages.

> No need for single-value files, that's oversimplification.
<snip>

This is fine for reading, but it makes it harder for humans to change
values in /proc - eg, echo 0 > /proc/sys/net/ipv4/tcp_ecn

-D

-
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/



This archive was generated by hypermail 2b29 : Wed Nov 07 2001 - 21:00:36 EST