[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200805191826.18516.david-b@pacbell.net>
Date: Mon, 19 May 2008 18:26:18 -0700
From: David Brownell <david-b@...bell.net>
To: Pavel Machek <pavel@...e.cz>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
lkml <linux-kernel@...r.kernel.org>,
Trent Piepho <tpiepho@...escale.com>,
hartleys <hartleys@...ionengravers.com>,
Ben Nizette <bn@...sdigital.com>,
Mike Frysinger <vapier.adi@...il.com>,
Bryan Wu <cooloney@...nel.org>
Subject: Re: [patch/rfc 2.6.25-git] gpio: sysfs interface
On Monday 19 May 2008, Pavel Machek wrote:
>
> >
> > > 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?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists