EJP wrote:There must be a terminology problem in that response or in this thread.
There's no way Windows or any sane operating system will allow you write access to a raw drive while there are mounted filesystems on it.
I am trying to use block devices without any file systems. As a comparison, I was able to try out this code on a Linux distro yesterday, and when I ran as root, it seemed to work on a ramdisk without a mounted fs:This entire line is contradictory.The ramdisk may not have a filesystem itself, but /dev/ram2 most definitely IS mounted into a filesystem. And because it is you have easy access to it because Linux makes that possible.