sg-style ATAPI commands in 2.6
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.
Signature · 1 line
Zinx Verituse
Quoted 10 lines · Zinx Verituse
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.
Signature · 1 line
Jens Axboe