Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Sun, 29 Aug 1999 13:54:37 +0100 (BST) | Subject | Re: 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/
| |