mmap on a block device

Kaustubh Ashtekar ksashtekar at
Tue Jun 7 00:27:15 EDT 2011

Hello All,

Is it possible to mmap on a block device? I am writing my own kernel space
filesystem on Linux (academic project). I am writing a user space tool to
format the block device (again my own ramdisk driver). It would be much
simpler if I could just mmap the block device into my address space.

-------------- next part --------------
An HTML attachment was scrubbed...

More information about the Kernelnewbies mailing list