how to map a software as a Drive?

2019-07-26 06:00发布

I am trying to create a software like Ibackup.com. However, I am not sure how to make the software so that it'll map as a local Harddrive. And i am not sure where to start researching on this. Someone please give me some pointers.

4条回答
Root(大扎)
2楼-- · 2019-07-26 06:12

You need to write a device driver implementing an Installable Filesystem (IFS).

I personally haven't done this but here's a piece of software I know that mounts Linux (ext2/3/4) filesystem on Windows: Ext2IFS.

And here's the SDK from Microsoft: IFS Kit

查看更多
Melony?
3楼-- · 2019-07-26 06:13

Take a look at the Subst command. I suggest you invoke it externally instead of simulating what it does, simply because of all the things that can go wrong.

(Side note: The correct term is a volume, not a drive.)

查看更多
老娘就宠你
4楼-- · 2019-07-26 06:31

Just as a reference: virtual drives can be created using our Callback File System product, which is a supported, documented and maintained solution.

查看更多
【Aperson】
5楼-- · 2019-07-26 06:34

I can point you to Dokan ( a user filesystem for windows like FUSE on linux), You install the driver then write the appropriate software for replying on IO request.

On a more complex answer you have to work with the NT DDK to write a driver that would be your software for being a filesystem (look at IFS: installable file system ), note that it is very complicated to work with (mainly because a crash of your software mean a BSOD ), and you would probably like some more higher level software like Dokan that would help you in that regard.

查看更多
登录 后发表回答