开发者

Create a networked virtual HDD/file system [closed]

开发者 https://www.devze.com 2023-02-28 13:56 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

How 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 copi开发者_StackOverflow社区ed 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.


On Windows this can be done using one of our products - SolFS OS Edition or Callback File System. Both have JNI interface to their functions. You can check the differences between two products in the comparison chart.

SolFS OS Edition is available also for MacOS X and can be released for Linux (we have the code, but didn't release the product).

On Linux the analog of CBFS is FUSE, on MacOS it's MacFUSE.

0

精彩评论

暂无评论...
验证码 换一张
取 消