Re: [PATCH] make ide-cd handle non-2kB sector sizes

From: Maciej W. Rozycki
Date: Fri Jan 23 2004 - 14:22:31 EST


On Fri, 23 Jan 2004, Pascal Schmidt wrote:

> > Hmm, given MO is a removable direct access device, I'd suppose ide-floppy
> > would be used as the handling driver similarly to the Zip drive, wouldn't
> > it?
>
> No, ide-floppy refuses to use media with larger sectors than 512 bytes.

So that's just opposite to what ide-cd does, but I think ide-cd should be
limited to CD-like devices with their all properties (oddities).
Specifically you can do random writes to an MO disk, perhaps even format
it, which is usually not the case with CDs.

BTW, what does ide-scsi say of the device type for the MO: is it "CD-ROM"
or "Direct-Access" or anything else? I used an MO drive (a SCSI one --
nobody was crazy enough to think of an ATAPI interface for that kinds of
devices at that time) for a short while under Linux once and it used to be
the latter, with sd, not sr being the appropriate driver.

--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@xxxxxxxxxxxxx, PGP key available +
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/