public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@suse.de>
To: Joe Krahn <jkrahn@nc.rr.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Common removable media interface?
Date: Tue, 18 Dec 2001 15:43:38 +0100	[thread overview]
Message-ID: <20011218154338.D32511@suse.de> (raw)
In-Reply-To: <3C1F41D6.43A16F80@nc.rr.com> <20011218142002.C32511@suse.de> <3C1F47D4.8964A190@nc.rr.com>
In-Reply-To: <3C1F47D4.8964A190@nc.rr.com>

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


      parent reply	other threads:[~2001-12-18 14:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-18 13:17 Common removable media interface? Joe Krahn
2001-12-18 13:20 ` Jens Axboe
2001-12-18 13:42   ` Joe Krahn
2001-12-18 14:11     ` Alan Cox
2001-12-18 14:43     ` Jens Axboe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011218154338.D32511@suse.de \
    --to=axboe@suse.de \
    --cc=jkrahn@nc.rr.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox