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 firstname.lastname@example.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:18 EST