Alexander Viro wrote: > > On Tue, 15 May 2001, James Simmons wrote: > > > > 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. > > The thing being, why thet hell create these device/directory hybrids? > Permission management. The permissions on the subnodes are inherited from the main node, which is stored on a persistent medium. -hpa -- <[EMAIL PROTECTED]> at work, <[EMAIL PROTECTED]> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - 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 Pendin... Oliver Xymoron
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Abramo Bagnara
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Abramo Bagnara
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... Alexander Viro
- handling network using filesystem [was Re: no ioctls for s... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pendin... 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
- 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 H. Peter Anvin
- Re: LANANA: To Pending Device Number Registrants Chip Salzenberg
- Re: LANANA: To Pending Device Number Registrants James Simmons
- Re: LANANA: To Pending Device Number Registrants Jan Harkes
- Re: LANANA: To Pending Device Number Registrants Martin Dalecki