* How to read/write from/to the HD with out kernel cashing
@ 2006-11-21 9:53 Dipti Ranjan Tarai
2006-11-21 10:02 ` Tejun Heo
2006-11-21 10:05 ` Jesper Juhl
0 siblings, 2 replies; 3+ messages in thread
From: Dipti Ranjan Tarai @ 2006-11-21 9:53 UTC (permalink / raw)
To: linux-kernel
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.
Regards
Dipti Ranjan Tarai
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to read/write from/to the HD with out kernel cashing
2006-11-21 9:53 How to read/write from/to the HD with out kernel cashing Dipti Ranjan Tarai
@ 2006-11-21 10:02 ` Tejun Heo
2006-11-21 10:05 ` Jesper Juhl
1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2006-11-21 10:02 UTC (permalink / raw)
To: Dipti Ranjan Tarai; +Cc: linux-kernel
Dipti Ranjan Tarai 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.
man 2 open, then look for O_DIRECT.
--
tejun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to read/write from/to the HD with out kernel cashing
2006-11-21 9:53 How to read/write from/to the HD with out kernel cashing Dipti Ranjan Tarai
2006-11-21 10:02 ` Tejun Heo
@ 2006-11-21 10:05 ` Jesper Juhl
1 sibling, 0 replies; 3+ messages in thread
From: Jesper Juhl @ 2006-11-21 10:05 UTC (permalink / raw)
To: Dipti Ranjan Tarai; +Cc: linux-kernel
On 21/11/06, Dipti Ranjan Tarai <dipti@innomedia.soft.net> 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@gmail.com>
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-11-21 10:05 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-21 9:53 How to read/write from/to the HD with out kernel cashing Dipti Ranjan Tarai
2006-11-21 10:02 ` Tejun Heo
2006-11-21 10:05 ` Jesper Juhl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox