mmap on a block device

Rajat Sharma fs.rajat at gmail.com
Tue Jun 7 02:17:43 EDT 2011


yes its fairly possible, go ahead and try it.

On Tue, Jun 7, 2011 at 9:57 AM, Kaustubh Ashtekar <ksashtekar at gmail.com> wrote:
> 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.
> -Kaustubh
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>



More information about the Kernelnewbies mailing list