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

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Wed Nov 07 2001 - 18:44:25 EST


On 7 Nov 2001 19:09:35 GMT
spamtrap@use.reply-to (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.

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

No, it deals nicely with any possible values in the file. And without headers,
how do I know what's what? And how do I update one value.

Meanwhile, there's far too much talk, far too little code. Will post new patch
next week.

Rusty.
-
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:37 EST