Re: [PATCH] 2.5 PROPOSAL: Replacement for current /proc of shit.

Tim Jansen
2001-11-02T13:57:37Z

On Friday 02 November 2001 03:20, Rusty Russell wrote:
> I'm not sure about such explicit typing: see my patch (the existing types
> are only for convenience: you can trivially supply your own). I agree with
> the "one file, one value" idea. I also went for dynamic directories for
> those who don't want to continually register/deregister.

Explicit typing has a few advantages for the user. User-space apps could use
a ioctl to get the type (and for enums the possible values, for integers
maybe a value range). Then you can write some program that shows the user the
possible values of each file, so you don't have to keep them in mind. And you
can easily write a GUI administration tool that allows you to modify kernel
and driver parameters.
It would also make it possible to convert the content of the filesystem into
another format, for example you could automatically generate a XML Schema
definition. IMHO persistence is a desirable feature for the editable files.

bye...