Re: sg-style ATAPI commands in 2.6

From: Jens Axboe
Date: Thu Oct 02 2003 - 02:08:09 EST


On Thu, Oct 02 2003, Zinx Verituse wrote:
> I haven't found much information on the raw ATAPI command
> interface provided in Linux 2.6, but from what I can tell
> it can understand the sg3 interface.
>
> However, I can't open the device read-write, so mmap'd IO
> is impossible, and unless it's currently horribly insecure,
> I can't write CDs anyway.
>
> I was just wondering what the desired behavior is, if there's
> a different style interface I'm supposed to use, etc.

Right now, only the SG_IO ioctl is supported. Support for full (as much
as makes sense) sg v3 support is planned and in progress.

--
Jens Axboe

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