lkml.org 
[lkml]   [2004]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ide-cd problems
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@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 14:04    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog