Re: How to read/write from/to the HD with out kernel cashing

From: Jesper Juhl
Date: Tue Nov 21 2006 - 05:06:02 EST


On 21/11/06, Dipti Ranjan Tarai <dipti@xxxxxxxxxxxxxxxxxx> wrote:
Hi all,
I am using fedora core -3 with kernel 2.6.10. I want to
read/write a sector from/to the HD with out kernel caching. Basically my
aim is to communicate directly with the ide drivers so that I can bypass
the kernel cache. Please give some idea regarding this.

Why wouldn't the (obsolete) RAW driver (CONFIG_RAW_DRIVER) or (better)
O_DIRECT work for you??

--
Jesper Juhl <jesper.juhl@xxxxxxxxx>
Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
Plain text mails only, please http://www.expita.com/nomime.html
-
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/