lkml.org 
[lkml]   [2003]   [Nov]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.9test9-mm1 and DAO ATAPI cd-burning corrupt

On Fri, 7 Nov 2003, Bill Davidsen wrote:
>
> I mentioned ide tapes and ZIP drives, Linus didn't mention how one gets
> around those.

The thing is, the non-ide-scsi interfaces really _should_ work. The fact
is, SG_IO ("send a SCSI command") just _works_.

However, right now only the CD-ROM driver exposes those commands. Why?
Because nobody has apparently cared enough about those theoretical IDE
tapes and ZIP drives.

In other words, they seem to "exist" in the same sense that soubdblaster
CD-ROM users "exist". True in theory, but apparently only really useful
for theoretical arguments.

Getting SCSI command support is not complicated: you add

ret = scsi_cmd_ioctl(dev, cmd, arg);

to your ioctl routine. Of course, since so far nobody seems to have cared
about anything but CD writing, it's not really tested for anything else.

Linus

-
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/

\
 
 \ /
  Last update: 2009-11-18 23:46    [W:0.097 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site