创建一个联网的虚拟HDD /文件系统 [英] Create a networked virtual HDD/file system
问题描述
任何现有的库,这样做?如果没有,你可以指点我的任何文学会让我在正确的方向吗?
您需要写一个文件系统驱动程序。在Linux上,如果您不想执行内核编程,则可以使用 FUSE ,但要牺牲性能。我不知道Windows或Mac OS的选项。
您已经用Java标签标记了这个问题,但是您更可能必须使用C或C ++。如果你的驱动程序将运行在一个用户空间的进程中(比如通过FUSE),我想你可以加载一个JVM,并编写只是代理Java方法的C函数,但这可能比它的价值更麻烦。
$ bHow would i go about creating a networked virtual HDD/file system? By that I mean, once I install the application a new drive (possibly need to create a driver?) shows up on windows (Mac or Linux?) and when you open the drive it shows you files stored on a server somewhere that can be copied to the local file system or add new files the way you usually would a normal drive...
Any existing libraries that do this? If not, any literature you can point me to that would set me off in the right direction?
You'd need to write a filesystem driver. On Linux you can use FUSE if you don't want to do kernel programming, at the cost of performance. I don't know about options for Windows or Mac OS.
You've tagged this question with the Java tag, but you're more likely to have to use C or C++. If your driver will run in a userspace process (such as via FUSE), I guess you could load a JVM and write stub C functions that just proxy to Java methods, but that's probably more trouble than it's worth.
这篇关于创建一个联网的虚拟HDD /文件系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!