lkml.org 
[lkml]   [2003]   [Nov]   [7]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 7 Nov 2003 07:01:22 -0800 (PST)
FromLinus Torvalds <>
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: 2005-03-22 13:58    [from the cache]
©2003-2008