[ Attribution is gone, so I just deleted it.. ] > > > > fd = open("/dev/tty00/nonblock,9600,n8", O_RDWR); > > > > > > Hmm, there might be problem with this. How do you change speed without > > > reopening device? [Remember: your mice knows when you close device] The naming scheme is not a replacement for these kinds of ioctl's - it's just a way to make them less critical, and get people thinking in other directions so that we don't get _more_ ioctl's. Remember, the serial lines we already have legacy support for, that's not going away. The termios-based stuff isn't Linux-only, and we'll obviously maintain it for the forseeable future. But if we can use naming to avoid ioctl's in the future, then THAT is good. I'm in particular thinking about frame-buffer and similar things, where we might be able to avoid making the situation worse. And remember where this discussion started: not ioctl's, but device numbers. The _biggest_ advantage of naming may be to get rid of the need for extra major and minor numbers, and cleaning up /dev in the process- Linus - 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 Eric W. Biederman
- Re: LANANA: To Pending Device Number Registrants Jeff Randall
- 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 Jeff Garzik
- Re: LANANA: To Pending Device Number Registrants James Simmons
- 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 James Simmons
- no ioctls for serial ports? [was Re: LANANA: To Pending ... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Linus Torvalds
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Linus Torvalds
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Pavel Machek
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Tim Jansen
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Kai Henningsen
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Tim Jansen
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Abramo Bagnara
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Alexander Viro
- Re: no ioctls for serial ports? [was Re: LANANA: To Pend... Abramo Bagnara