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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Johannes Berg
Date: Monday, June 9, 2008 - 2:03 am

> I was really interested in looking to start a filesystem based

Personally, I have a few issues with this:
 1) why bother with a second configuration interface that we have to
    maintain, adjust, ...? if we need scriptable access, then make a
    good userspace tool that is scriptable.
 2) string-based stuff is often messy, especially the varying attributes
    like MAC addresses etc. Unless we just use binary files again, which
    is not very useful again. Take, for example, the monitor flags. If
    we use the same flags then nobody really knows what's up=20
    (echo 0x3 > mntr_flags?) and if we use strings then we cannot easily
    ever rename the flag while keeping ABI/API compatibility.
 3) afaik configfs doesn't actually support the mkdir, ... stuff yet
    that you want for virtual interfaces.

johannes
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, 2:25 pm)
Re: Is configfs the right solution for configuration based fs?, Johannes Berg, (Mon Jun 9, 2:03 am)
Re: Is configfs the right solution for configuration based fs?, Luis R. Rodriguez, (Tue Jun 10, 1:12 am)