how to map a software as a Drive?

眉间皱痕 提交于 2019-12-24 18:40:20

问题


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.


回答1:


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.




回答2:


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




回答3:


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:


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



来源:https://stackoverflow.com/questions/4666818/how-to-map-a-software-as-a-drive

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!