Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mirrorfs? #80

Open
lonnietc opened this issue Feb 10, 2023 · 2 comments
Open

Mirrorfs? #80

lonnietc opened this issue Feb 10, 2023 · 2 comments

Comments

@lonnietc
Copy link

Hello,

I am experimenting with cgofuse and actually need to find something like a mirrorfs.

Do you have any suggestions?
Thanks

@billziss-gh
Copy link
Collaborator

What is mirrorfs? Perhaps you means something like the passthrough file system?

@lonnietc
Copy link
Author

Hi,

In Dokany (http://dokan-dev.github.io/) they have a few C++ examples but have no Golang bindings.

One of those samples is a Mirror (https://github.com/dokan-dev/dokany/wiki/Use-Mirror-example)

"
Mirror is a simple command-line software that consumes the Dokan C API. It simply mirrors an existing folder in a dokan virtual drive by forwarding every IO call received by the virtual driver to the filesystem driver serving the existing folder.
"

https://github.com/dokan-dev/dokany/tree/master/samples

I am working on the Windows 10 (x64) platform initially and will eventually do cross-platform for Linux and Mac as well.

From what I have read, it does not seem like your Passthrough which also does not run on Windows.

Right now I am also looking through the Hubfs (https://github.com/winfsp/hubfs) to see if there might be something in there that would help but wanted to see if you had any ideas or suggestions.

What I am going to need to develop is a mirrorfs that will combine remote file listing from a type of P2P filesystem which is sort of a torrent (but not) using a unionfs. This will allow combining to see remote and local files as though they are all in the virtual disk drive.

In some ways, it has similarities to your hubfs, but not exactly and also I am building everything under MIT/BSD licensing which the other P2P components are that will be linked to hubfs is AGPL so that does not work for me in this case also.

Probably will have to write this part from scratch if I am going to use cgofuse and WinFSP.
Thanks again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants