Re: Is configfs the right solution for configuration based fs?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Berg <johannes@...>
Cc: Ben Nizette <bn@...>, linux-wireless <linux-wireless@...>, linux kernel <linux-kernel@...>, Greg KH <greg@...>, Joel Becker <joel.becker@...>, Satyam Sharma <ssatyam@...>, Felix Fietkau <nbd@...>, Al Viro <viro@...>, H. Peter Anvin <hpa@...>
Date: Tuesday, June 10, 2008 - 4:12 am

On Tue, Jun 10, 2008 at 1:01 AM, Johannes Berg
<johannes@sipsolutions.net> wrote:

I actually agree with Johannes here, its not only complexity but also
a burden, not to mention more bloat. We get away with some flag
hackery in ath5k debug.[ch] for example to let you even use the name
of flags but to assume none of this will change over time and to leave
it to us to manage for an actual subsystem seems plainly overkill and
abuse.


This is of course subjective, I actually think your point about
leaving the complexity of string manipulation and burden on userspace
is perhaps the best argument to avoid a *complete* subsystem interface
through a configuration file system.


OK we could use a fs *only* for retrieval and setting of a few
wireless configuration data then which *is tunable* without *much
complexity*. I'm thinking *standard tunable values* and *standard
stats* like those currently exported via debugfs. This could simply be
optional as well, just as debugfs is. Not even sure if configfs would
be the ideal candidate for this. Alternatively we could just not have
one too, and I'm fine with that too, but we'll just have to make great
userspace tools.

Just wanted to get an idea of what people thought and through their
experience what is best.

  Luis
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Is configfs the right solution for configuration based fs?, Luis R. Rodriguez, (Sun Jun 8, 5:25 pm)
Re: Is configfs the right solution for configuration based fs?, Luis R. Rodriguez, (Tue Jun 10, 4:12 am)