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

From: Andrew Morton (andrewm@uow.edu.au)
Date: Sat May 19 2001 - 06:43:52 EST


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/



This archive was generated by hypermail 2b29 : Wed May 23 2001 - 21:00:32 EST