echo "speed" >&3
Can you make a counter example where this doesn't look good?
> > > Moreover, we have channels that are not tied to a particular device -
> > > they are for a group of them. Example: setting timings for IDE controller.
> > > Sure, we can just say "open /dev/hda instead of /dev/hda5", but then we
> > > are back to the "find related file" problem you tried to avoid.
> > It does not seems appropriate to permit to change IDE timings using an
> > handle to a partition... nor it seems very safe under a permissions
> > point of view.
> However, we _do_ allow that. Right now. And yes, I agree that we should
> go to separate file for that. And we are right back to finding a related
I'd prefer to make what you often call a crapectomy: no IDE timing
change using a partition handle. It's something like to permit that on a
LVM handle, it's stupid...
About tty and vcs split: there the problem is more subtle and it's
related to a missing separation of keyboard and screen.
After to have done this choice (i.e. to have the some behaviour of
serial port) someone has realized that to read from console screen it's
a sensible action (to fetch current content).
This is the typical case where to have /dev/tty1/ioctl does not
substitute to have another device for console screen reading.
Note that it's a *different* device (different permission, etc.).
-- Abramo Bagnara mailto:email@example.com
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 firstname.lastname@example.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/