Re: [patch/rfc 2.6.25-git v2] gpio: sysfs interface

From: David Brownell
Date: Fri May 02 2008 - 23:29:53 EST


On Thursday 01 May 2008, Trent Piepho wrote:
> >> IMHO, if you can't do this simple task in 5 minutes
> >> with just busybox, the system is making things too hard.
> >
> > Right, and since I *can* do stuff like that in busybox with ASH,
> > that quickly, I hope you'll agree your flamage has been blowing
> > things way out of proportion here.
>
> It's so easy, yet no one posts the code to do it.

I think that's because it's a trivial "Shell Programming 101"
homework assignment, and we have a general policy against doing
people's schoolwork for them ...

Here are two clues for you: "for DIR in gpiochip*"; and then
"LABEL=$(cat $DIR/label)". I'm quite certain that if you put
aside your demonstrably strong desire to flame, you can solve
that little problem.

Or perhaps the issue here is just bikeshedding. Regardless,
the signal-to-noise ratio is way too low..
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/