Re: Common removable media interface?

From: Jens Axboe (axboe@suse.de)
Date: Tue Dec 18 2001 - 09:43:38 EST


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/



This archive was generated by hypermail 2b29 : Sun Dec 23 2001 - 21:00:16 EST