创建我的文件系统(文件映射?) [英] creating my file system (file mapping?)

查看:96
本文介绍了创建我的文件系统(文件映射?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想创建以这种方式行事的文件系统:



文件读取操作:

读取D:\ AlicePC \\ \\ poems\poem.txt

将返回内容

\\ AlicePC\Poems\poem.txt(是,来自远程PC的文件)



文件创建操作:

创建文件

C:\ BobPC \ SONG \松。 txt

将导致创建

\\BobPC \ Song \song.txt(是的,远程PC上的文件)



操作应该是透明的应用程序和Windows浏览器像Dropbox



这是创建这样的文件系统的可靠方法?是文件驱动程序的驱动过滤器吗?或.NET托管实现?

感谢您的帮助!





PS假设AlicePC和BobPC是可信和可访问的UNC资源,我们有适当的权限,并在相同的Windows域中



内核代码就像

CreateFile(path)

{

remotePC = \\BobPC \;

BasicFileSystemCreateFile(remotePC + path);

}

I want to create file system which acts by this way:

File Read operation:
Read D:\AlicePC\Poems\poem.txt
will instead return content of
\\AlicePC\Poems\poem.txt (YES, the file from remote PC)

File Create operation:
creating file
C:\BobPC\Song\song.txt
will cause creation of
\\BobPC\Song\song.txt (YES, the file on remote PC)

Operations should be transparent for applications and windows explorer like Dropbox

Which is reliable way to create such file system? Is it driver filter of file driver? Or .NET managed implementation?
Thanks for any help!


PS lets assume AlicePC and BobPC are trusted and accessible UNC resources and we have proper permissons and in same windows domain

the kernel code would be like
CreateFile(path)
{
remotePC= \\BobPC\ ;
BasicFileSystemCreateFile(remotePC + path) ;
}

推荐答案

查看: OpenAFS [ ^ ]



我想它会做你想做的事情,然后一些...



祝你好运

Espen Harlinn
Have a look at: OpenAFS[^]

I guess it does what you want it to do, and then some ...

Best regards
Espen Harlinn


在你继续这个项目之前停止。



阅读已经内置在Windows SERVER中的分布式文件系统。



这是一种SERVER技术,而不是工作站。工作站不能成为DFS的一部分。它们必须是基于Windows Server的共享。



如果仅在Windows工作站上执行此操作,即使使用第三方产品,也会遇到非常大的问题。 Windows的工作站版本的入站连接限制为10,除了Windows 7的限制为20.



这意味着只有20个其他工作站可以连接到工作站机器到拾取文件和其他东西。如果你有一组说50台机器访问共享上的文件,其中30台无法触摸它。
Stop before you go any further with this project.

Read up on the Distributed File System that is built into Windows SERVER already.

This is a SERVER technology, not workstation. Workstations cannot be part of a DFS. They must be Windows Server based shares.

You have a very large problem with doing this solely on Windows workstations, even using a 3rd party product. Workstation builds of Windows have an inbound connection limit of 10, except for Windows 7 has a limit of 20.

This means that only 20 other workstations can connect to a workstation machine to pickup files and other things. If you've got a group of say 50 machines that access a file on a share, 30 of them cannot touch it.


有没有办法将UNC路径映射到本地文件夹在Windows 2003上? [ ^ ]



对于年轻的MS OS,可能还有其他一些解决方案;我在基础研究的顶部看到了一些链接。
Is there a way to map a UNC path to a local folder on Windows 2003?[^]

There may be some other solutions for younger MS OS's ; I've seen some links at the top of the basic research I did.


这篇关于创建我的文件系统(文件映射?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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