Re: ide-cd problems
From: Jens Axboe
Date: Sat Jul 31 2004 - 10:37:30 EST
On Fri, Jul 30 2004, Zinx Verituse wrote:
> I'm going to bump this topic a bit, since it's been a while..
> There are still some issues with ide-cd's SG_IO, listed from
> most important as percieved by me to least:
>
> * Read-only access grants you the ability to write/blank media in the drive
> * (with above) You can open the device only in read-only mode.
That's by design. Search linux-scsi or this list for why that is so.
> * You can't open the device unless there is media in the drive
False, you use O_NONBLOCK.
> * Still seems to be no way to specify scatter gather/dma buffers yourself,
> though I'm not entirely sure that matters anyway.
That's true, later implementation of block layer SG_IO adds that as
well. It's really a minor thing though, I don't think I've ever seen
anyone use it outside of regression testing scripts.
--
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/