lkml.org 
[lkml]   [1999]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: direct (unbufferd) disk access
On Thu, Jun 24, 1999 at 11:35:56AM +0200, Christian Hammers wrote:
> Hello List
>
> How can I get the kernel to read/write some data immediately to disk without
> caching it in the kernel memory.
>
> I like to access one harddrive with two motherboards and like to have a shared
> partition that will be writen to by one motherboard and read by an other
> motherboard - but Linux seems to prevent that.
>
> I don't like to mount any partition (because of the filesystem check warnings)
> and will instead write raw data with "dd".
> Oh, and I don't like to flush ALL buffers, because this computer will be a
> redunant web-server that strongly needs buffers (for this reasons AFAIK I
> can't use flushb and sync).

You want Stephen Tweedie's raw IO patches.

ftp://ftp.uk.linux.org/pub/linux/sct/fs/raw-io

--
Matthew Wilcox <willy@bofh.ai>
"Windows and MacOS are products, contrived by engineers in the service of
specific companies. Unix, by contrast, is not so much a product as it is a
painstakingly compiled oral history of the hacker subculture." - N Stephenson

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.039 / U:0.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site