I have mmaped a driver,Mmapping is successful and im able to get it back to user space,display the contents. But wen i try to write to a file,There is core dump ...