[7992] in linux-scsi channel archive
Re: Devices not supporting read-6....
daemon@ATHENA.MIT.EDU (Rogier Wolff)
Wed Feb 2 19:02:02 2000
Message-Id: <200002022313.AAA31895@cave.bitwizard.nl>
In-Reply-To: <200002022025.NAA20336@chopper.poohsticks.org> from Drew Eckhardt
at "Feb 2, 2000 01:25:49 pm"
To: Drew Eckhardt <drew@Poohsticks.Org>
Date: Thu, 3 Feb 2000 00:13:33 +0100 (MET)
Cc: "Kenneth D. Merry" <ken@kdm.org>,
Jonas Nickel <jonas.nickel@tu-berlin.de>,
Rogier Wolff <R.E.Wolff@BitWizard.nl>, linux-kernel@vger.rutgers.edu,
linux-scsi@vger.rutgers.edu, phoenix@thesindicate.com
From: R.E.Wolff@BitWizard.nl (Rogier Wolff)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Drew Eckhardt wrote:
> Under Linux, the CD and disk drivers are completely divorced. When
> I wrote the disk driver, I used the smallest command possible for a
> given transfer size. The CD driver was cloned from that.
This is a bad idea! This "divorce" should be undone whenever someone
has a chance!
DVD RAM drives currently require a gross hack to allow them to be
driven by both the disk driver (to write to the device), and as a
CDROM drive (to allow cdrom ioctls like play track).
A common driver that has a bunch of flags (removeable, writeable,
play-able: hd: 010, cd: 101, mo: 110, dvd: 111) would work best....
Roger.
--
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
"I didn't say it was your fault. I said I was going to blame it on you."
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu