bibikurosawa / dokan

Automatically exported from code.google.com/p/dokan
0 stars 0 forks source link

Add support for mounting as reparse points #29

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently Dokan filesystems can be mounted only as root disks. 

It makes to sense to add support for mounting volumes into arbitrary
directories, like in Unix. Windows supports this using reparse points.

Original issue reported on code.google.com by alex.bes...@gmail.com on 27 Oct 2008 at 12:51

GoogleCodeExporter commented 9 years ago
Couldn't agree more. The problem with piggy backing on Windows reparse points 
is that
limits you to overriding NTFS only. To be like Unix you want to be able to 
mount a
filesystem at any directory on the whole system, which isn't possible. I think 
the
simplest idea is for a Unix Dokan drive. On that drive you can mount 
filesystems at
any folder. The Unix Dokan filesystem deals with redirecting and processing 
paths
(just find the last mount for a path, cut the path and hand it to the mount).

I've been playing with this myself, and what I've done is to make a Dokan 
filesystem
that just mounts other filesystems. Filesystems are plugin DLLs with pretty 
much the
same interface as Dokan. You give the Dokan filesystem a mount table on start 
up and
it loads plugins (by name) when required.

Original comment by joe.a.bu...@gmail.com on 10 Nov 2008 at 10:48

GoogleCodeExporter commented 9 years ago
It's possible to add reparse points support for Docan. I'm going to do it to add
support for directory symlinks.

It should then be possible to mount filesystems inside a Dokan directory tree.

Original comment by alex.bes...@gmail.com on 10 Nov 2008 at 10:57

GoogleCodeExporter commented 9 years ago
Are you planning on enabling Dokan filesystems to be mounted at reparse points 
too,
or just reparse support within a Dokan filesystem?

Original comment by joe.a.bu...@gmail.com on 10 Nov 2008 at 4:07

GoogleCodeExporter commented 9 years ago
Both.

Original comment by alex.bes...@gmail.com on 10 Nov 2008 at 4:09

GoogleCodeExporter commented 9 years ago
Perfect. I hoped as much. 
I didn't go down that road because they can be a bit prickly about gpl stuff 
here.
But if you are already on your way down that road it makes no sense for me to
continue on my plugin system. Anything I can do to help? I've cleared
'helping-with-features-that
will-be-happening-anyway-and-will-be-useful-to-the-company' with my boss.

How far along are you?

Original comment by joe.a.bu...@gmail.com on 10 Nov 2008 at 4:16

GoogleCodeExporter commented 9 years ago
Hi,

Your software is amazing!! I was wondering if the feature mentioned above has 
been 
added by now? I tried using reparse points and symbolic links and I always got 
the 
following error from Windows: "The data present in the reparse point buffer is 
invalid."

Thanks!
Emil

Original comment by emil2...@gmail.com on 6 Mar 2010 at 1:25