Re: [RFD w/info-PATCH] device arguments from lookup, partion code in

Andrew Morton (andrewm@uow.edu.au)
Sat, 19 May 2001 21:43:52 +1000


Andries.Brouwer@cwi.nl wrote:
>
> Hmm. You know that I wrote this long ago?

Well, let's not get too hung up on the disk thing (yeah,
I started it...).

Ben's intent here is to *demonstrate* how argv-style
info can be passed into device nodes. It seems neat,
and nice.

We can also make use of a strong argument parsing library
in the kernel - there are a great number of open-coded
string bashing functions which could be rationalised
and regularised.

So. When am I going to be able to:

open("/bin/ls,-l,/etc/passwd", O_RDONLY);

?
-
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/