Giter Site home page Giter Site logo

Comments (8)

viciousviper avatar viciousviper commented on June 4, 2024

Hi @mikesmiffy128,

presently I only support virtual drives. AFAIK the base technology behind my tools (which is of course Dokany) does not support arbitrary directories as mount points, but I'd have to check again to be sure.
I might be able to mount several virtual file systems as top-level directories of a specific virtual drive (i.e. V:\OneDrive\ and V:\Mega\) - would this be of any value to you?

As an aside - do you really see a problem in having "only" 26 drive letters (or maybe more like 20) available for cloud volumes?

from dokancloudfs.

viciousviper avatar viciousviper commented on June 4, 2024

.., turns out I am mistaken and Dokany is very much able to use arbitrary dictionaries as mount points.

I'll look into this.

from dokancloudfs.

mikesmiffy128 avatar mikesmiffy128 commented on June 4, 2024

Ah, great. I was sure it was possible and was just looking for the relevant information but it looks like you beat me to it. :) Regarding "only 26," it's not really a problem for me but it is foreseeable that someone somewhere with a lot of hard disks, network mounts etc would want to avoid running out of letters.

Thanks for looking into it! 👍

from dokancloudfs.

viciousviper avatar viciousviper commented on June 4, 2024

Unfortunately, all is not as easy as it seems. 😞

While the dokany docs clearly state that mount points can be (empty) NTFS directories, I've had no success with actually mounting to anything but a full drive letter.
This is both from within DokanCloudFS and from the C-based mirror.exe sample provided with dokany. The latter just gives me a "Can't assign a drive letter" from calls like
mirror.exe /r C:\Temp /l D:\Temp\Dokan\Mount
whereas
mirror.exe /r C:\Temp /l T:
works as expected.

I'll try contacting the dokany devs to find out what the actual matter is.

from dokancloudfs.

viciousviper avatar viciousviper commented on June 4, 2024

Long story short: Directory mount points basically work with only minimal changes to DokanCloudFS.
You will, however, have to pay very close attention to your intended mount point being an existing and empty directory. If the dokany driver fails to mount to directory only once, it will refuse to mount to any directory mount point - even legitimate ones - until the next reboot.
I'll commit the required changes shortly.

from dokancloudfs.

mikesmiffy128 avatar mikesmiffy128 commented on June 4, 2024

👍

from dokancloudfs.

Rondom avatar Rondom commented on June 4, 2024

@viciousviper That sounds like a bug. Maybe try to reproduce it with the mirror and report it.

from dokancloudfs.

viciousviper avatar viciousviper commented on June 4, 2024

Hi @Rondom,
I was able to reproduce this exact behaviour with mirror.exe.
Will fill the required forms for a dokany bug report sometime later.

from dokancloudfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.