Re: Raw disk i/o

2003-08-19 Thread Aaron Hope
On Tue, 2003-08-19 at 00:21, Derek Martin wrote: On Mon, Aug 18, 2003 at 11:13:48PM -0400, Jeff Macdonald wrote: Hi, I am trying to understand how one uses raw disk i/o in Linux. I If you're not a filesystem engineer, you probably just really don't want to do this. This is the level

Re: Raw disk i/o

2003-08-19 Thread Jeff Macdonald
On Tue, 2003-08-19 at 03:12, Aaron Hope wrote: I think that he's looking for the same raw i/o that oracle likes so much: http://www.tldp.org/HOWTO/SCSI-2.4-HOWTO/rawdev.html Yep. I've also seen this reference. But while you don't have to be writing a filesystem to want this, it's still

Raw disk i/o

2003-08-18 Thread Jeff Macdonald
Hi, I am trying to understand how one uses raw disk i/o in Linux. I understand that the i/o skips the kernel buffer. What I don't understand is how a program uses it. Does one simply open the raw device and write/read data from it? Does the device need to be formatted? Does it have a file system

Re: Raw disk i/o

2003-08-18 Thread Derek Martin
On Mon, Aug 18, 2003 at 11:13:48PM -0400, Jeff Macdonald wrote: Hi, I am trying to understand how one uses raw disk i/o in Linux. I If you're not a filesystem engineer, you probably just really don't want to do this. This is the level at which the filesystem reads and writes data