如何创建虚拟Windows驱动器 [英] How to Create a Virtual Windows Drive

查看:50
本文介绍了如何创建虚拟Windows驱动器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建Windows虚拟驱动器(例如c:\)以映射远程存储.主要目的是为用户提供清晰的方法.因此,用户不会知道他正在从另一个站点进行写/读.

I'm trying to create a Windows Virtual Drive ( like c:\ ) to map a remote storage. The main purpose is to do it in a clear way to the user. Therefore the user wouldn't know that he is writing/reading from another site.

我正在寻找可用的产品,但我发现FUSE在Windows中不是一个选项,WebDAV直接映射驱动器,我想在Windows和远程存储之间构建中间层以实现某种服务.存在另一种选择,例如非常昂贵的Dokan和似乎没有明确创建新Windows Drive的System.IO.IsolatedStorage命名空间.

I was searching for available products, and i find that FUSE is not an option in Windows and WebDAV maps directly the drive, and i would like to build a middle layer between windows and remote storage to implement some kind of services. Another alternatives exists, such as Dokan, that is very expensive, and System.IO.IsolatedStorage Namespace, that doesn't seem to explicity create a new Windows Drive.

大概是pismo( http://www.pismotechnic.com/)是最符合我要求,但我想知道是否还有另一种选择,包括一些Windows(C ++或.NET)本机API可以实现.

Probably pismo ( http://www.pismotechnic.com/ ) is the thing that mostly matches my requirements but I would know if there is another alternative, including some Windows ( C++ or .NET ) native API to do that.

感谢您的阅读:)

推荐答案

如我所见,有几种方法可以实现此目的.

As I see, there are several options to implement this.

本机"正在创建一个自定义驱动程序(.sys文件),该驱动程序可拦截I/O操作.微软称它为MiniFilter.此选项是最困难的选项,但可以让您完全控制.

The "native" one is creating a custom driver (.sys file) that intercepts the I/O operations. Microsoft calls it MiniFilter. This option is the toughest one but allows you full control.

The夫的;)选项是使用现有的库来执行此操作,例如Dokan,GPL( dokan-dev.net/en ),免费的Pismo( www.pismotechnic.com )或回调文件系统( www.eldos.com ).

The coward's ;) option is to use a existing library to do this, examples of this are Dokan, GPL (dokan-dev.net/en), Pismo, free (www.pismotechnic.com) or Callback File System (www.eldos.com).

但是,如果您没有Windows作为主要目标,则可以使用FUSE,这是一个很好的选择.

However if you don't have Windows as main target, you can use FUSE which is a pretty good option.

这篇关于如何创建虚拟Windows驱动器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆