[lkml]   [2008]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCHES] Re: Is configfs the right solution for configuration based fs?

    On Fri, 2008-06-20 at 14:37 -0700, Joel Becker wrote:
    > On Fri, Jun 20, 2008 at 07:22:56PM +1000, Ben Nizette wrote:
    > > A version of my gpio-dev interface is attached. Bear in mind it was
    > > never completed, it's full of known bugs but hey, might be useful for
    > > you anyway :-)
    > Looks good. Fits about what I would expect a configfs interface
    > to look like, with simple show/store stuff. I can see where some macros
    > would have shortened some bolierplate.
    > Was there any other boilerplate you found cumbersome? I mean
    > outside of defining attribute structs and the show/store_attr()
    > trampoline functions? Let me know, so I can incorporate it.

    You know, I think you've about covered the boilerplate work. Apart from
    that, well it took me a millisecond to work out what the point of
    config_{group,item}s was; I went in kinda expecting to see one struct
    for directories and one for attributes. In fact I still not sure I can
    explain the need for config_items separate from config_groups. Little
    help? :-)


    > Joel

     \ /
      Last update: 2008-06-21 03:07    [W:0.021 / U:0.032 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site