Re: file read/write within device driver

Stephen C. Tweedie (
Thu, 29 Apr 1999 20:53:48 +0100 (BST)


On Mon, 26 Apr 1999 11:21:05 -0700 (PDT), David Beccue
<> said:

> And to be more precise, I don't really want to do "file" I/O as much
> as I want to do "block device" I/O. I want to write to /dev/sdb3 or
> a loopback driver, not actually an ext2 file.

Then look at any of the existing filesystem code in (say) ext2 or
isofs as an example. The filesystems make extensive use of buffer
cache IO from kernel space, so you should find plenty of relevant


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at