[lkml]   [2001]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: LANANA: To Pending Device Number Registrants

On Tue, 15 May 2001, Alan Cox wrote:

> > Alan, if we are doing that we might as well use saner interface than
> > ioctl(2). In case you've mentioned we don't want "make device SYS$FOO17
> > do special action OP$LOUD$BARF4269". We want "make device rewind the tape".
> > Or "tell us geometry". Or "eject the media". Application doesn't
> Counter argument; We dont want the bloat of making a floppy tape have
> delusions of grandeur in kernel space when mt-st can do it in userspace.

Cost of adding IOCTL_REWIND_TAPE - two words in each tape driver. That
alone kills a bunch of crap in userland and makes _both_ sides more

Idea that ioctls belong to drivers is bogus. Some of them do, but that's
exactly the case when it's something deeply specific to the driver. As
in "make the printer puke on the top of next page". And even that might be
better off as IOCTL_LART.

IOW, even if we stay with ioctl(2) every place where we do the "if scsi tape
... else if floppy tape ..." is bogus.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:53    [W:0.205 / U:1.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site