lkml.org 
[lkml]   [2001]   [Nov]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] 2.5 PROPOSAL: Replacement for current /proc of shit.
Date
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...
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:18    [W:0.236 / U:1.164 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site