> What Al is saying, and what makes perfect sense is that you generate a > separate fd for each "pipe". It's even more obvious in the case of USB, > because, by golly, the things are actually _called_ "pipes" in the USB > documentation, which should have made people make the immediate > association. Instead of doing Graphics cards are the same way. Especially high end ones. They have pipes as well. For low end cards you can think of them as single pipeline cards with one pipe. > See? > > Don't get boxed in by thinking that you only have one fd. Even if you have > only one _device_node_, you can have multiple fd's. In fact, you can, with > the Linux VFS layer, fairly easily do things like > > mknod /dev/fd0 c X Y > > and then use > > fd = open("/dev/fd0/colourspace", O_RDWR); Yipes!! I have to say UNIX has a tendency to teach you ioctl is the only way. I have never thought outside of the box nor see anyone else in this manner. This is absolutely brillant!!! I can see alot of possibilties with this. - 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: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Johannes Erdfelt
- Re: LANANA: To Pending Device Number Registrants Chip Salzenberg
- Re: LANANA: To Pending Device Number Registrants Helge Hafting
- Re: LANANA: To Pending Device Number Registrants Kai Henningsen
- Re: LANANA: To Pending Device Number Registrants Johannes Erdfelt
- Re: LANANA: To Pending Device Number Registrants Kai Henningsen
- Re: LANANA: To Pending Device Number Registrants Pavel Machek
- Re: LANANA: To Pending Device Number Registrants Johannes Erdfelt
- Re: LANANA: To Pending Device Number Registrants Pavel Machek
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants Nicolas Pitre
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Kai Henningsen
- Re: LANANA: To Pending Device Number Registrants Alexander Viro
- Re: LANANA: To Pending Device Number Registrants Malcolm Beattie
- Re: LANANA: To Pending Device Number Registrants Johannes Erdfelt
- Re: LANANA: To Pending Device Number Registrants James Simmons