Alexander Viro wrote: > > On Sat, 19 May 2001, Linus Torvalds wrote: > > > > > What you're really proposing is to make ioctl's be ASCII strings. > > > > Which is not necessarily a bad idea, and I think plan9 did something > > similar (or rather, if I remember correctly, plan9 has control streams > > that were ASCII. Or am I confused?). > > You are not. Control streams in question look like normal files. Normally > driver exports a tree with several data files (e.g. fd0, fd1, fd2, fd3) > and several control files (e.g. fd0ctl, fd1ctl, fd2ctl, fd3ctl). write() > to the latter passes commands. No extra syscalls needed. I've just had a "so simple to risk to be stupid" idea. To have /proc/self/fd/N/ioctl would not have the potential to suppress ioctl needs for *all* current uses? -- Abramo Bagnara mailto:[EMAIL PROTECTED] Opera Unica Phone: +39.546.656023 Via Emilia Interna, 140 48014 Castel Bolognese (RA) - Italy ALSA project http://www.alsa-project.org It sounds good! - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Jakob Østergaard
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Oliver Xymoron
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Oliver Xymoron
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Oliver Xymoron
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Abramo Bagnara
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Abramo Bagnara
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Alexander Viro
- handling network using filesystem [was Re: no ioctls for ... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendi... Abramo Bagnara
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Alexander Viro
- Re: LANANA: To Pending Device Number Registrants Linus Torvalds
- Re: LANANA: To Pending Device Number Registrants Daniel Phillips