Re: Common removable media interface?
Jens Axboe (axboe@suse.de)
Tue, 18 Dec 2001 15:43:38 +0100
On Tue, Dec 18 2001, Joe Krahn wrote:
> Jens Axboe wrote:
> >
> > On Tue, Dec 18 2001, Joe Krahn wrote:
> > > I think Linux could use a common removable
> > > media interface, sort of like cdrom.c adds
> ...
> >
> > Stuff like this belongs in user space, no need to bloat the kernel with
> > it.
> >
> > --
> > Jens Axboe
> OK, you are right. Bloat is bad. So,
> would you say that new drivers should keep ioctls
> to a bare minimum, much less than cdrom.c, and just
> provide generic access, like SG_IO/HDIO_DRIVE_CMD,
> as a general rule from now on?
> (Sounds OK to me...)
That's exactly what I'm saying, in fact that's the direction that 2.5 is
heading currently (rq->cmd[]). _One_ packet ioctl for your atapi or scsi
removables, done.
--
Jens Axboe
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/