lkml.org 
[lkml]   [1999]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Raw IO device - basic question
Hi,

On Tue, 24 Aug 1999 12:51:48 +0100, Mark Hagger <mhagger@dera.gov.uk>
said:

> I'm interested in using the raw io device, in the 2.3.x kernel series, as my
> application wants to stream to and from the disk without going via memory
> buffering (I'm streaming far more data than can fit in memory anyway).

> However, I'm probably being a little dense here but I don't quite see how to
> use the raw device. If I set up a /dev/raw1 to bind to some partition on my
> disk that I want to use raw io, then what do I do?

Look in ftp://ftp.uk.linux.org/pub/linux/sct/fs/raw-io/. It will
provide both the user-level tools to use raw IO, and a readme about
using it.

The main thing to note about using the raw devices is that all data
transfer must be disk-block aligned, both on disk and in memory.

--Stephen

-
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:53    [W:0.033 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site