lkml.org 
[lkml]   [2008]   [May]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch/rfc 2.6.25-git] gpio: sysfs interface
Hi!

> > > > What about mkdir gpio-N to export it?
> > >
> > > Ugh.  That would create way more complication than I want
> > > to see here.  I thought about that early on, and decided
> > > that was Not The Way To Go.
> >
> > ...but it would be consistent with configfs... and face it... doing
> > echo > file to make a directory is seriously ugly.
>
> This isn't configfs, and I didn't happen to notice any polite
> way for sysfs users to intercept "mkdir", parse the relevant
> directory name, reject illegal names, and pre-populate the
> just-created directory with relevant contents.
>
>
> Were you implying it should go into configfs? If so, do you
> maybe have an update to the patch I sent a day or so ago?

No, sorry.

I'm not sure if it should go to configfs, or if sysfs should be
improved. But "something" should be done, because we will be stuck
with this interface for a long while.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2008-05-20 10:19    [W:0.059 / U:2.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site