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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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