How can I create a virtual disk?

I would like to create a virtual disk for Windows. I am not going to map a disk or something like that, I am going to map it to my DLL functions or something like that.

How can I achieve this?

I read that I have to develop a device driver or shell extension? I have a lot of experience with C ++ and C #. Where to begin?

I want to make it as simple as possible, firstly, how much time do I think it will take me? And the easiest way to do this is so that I can create my prototype.

My motivation is to connect the file to an application that currently only reads files from the file system. I'm only interested in transferring 1 file, so I think that the entire virtual disk will be superfluous, and will also write kernel mode code.

Thanks guys.

+3
source share
2 answers

If you want to build it from scratch, then yes, you need to create a driver. However, it would be much easier to use a proxy driver, such as Dokan , and create a file system in user mode.

Take a look at the Wikipedia article on IFS ; there are links to other useful tools at the bottom of the page.

+3
source

I do not know what it costs and it is not open source, but I found this . This is "fuse" like for windows

+2
source

Source: https://habr.com/ru/post/1727938/


All Articles