You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
During an attempt to mount, jnr-fuse checks whether the mount point is an existing directory. If it is not, an exception is thrown:
ru.serce.jnrfuse.FuseException: Mount point should be directory
at ru.serce.jnrfuse.AbstractFuseFS.mount(AbstractFuseFS.java:263)
... 15 common frames omitted
// winfsp requires non-existing directory to be provided
if (!Files.isDirectory(mountPoint)) {
thrownewFuseException("Mount point should be directory");
}
}
There are, however, further cases in which it is desirable to mount to a non-existing directory. According to this commit to sshfs FUSE has certain workarounds:
In order to allow non-privileged users to mount FUSE volumes under /Volumes FUSE will create
non-existent mount points automatically.
Therefore I kindly request to either disable this check completely (let the software depending on jnr-fuse take care of it) or add an overloaded method, e.g. public void mount(Path mountPoint, boolean blocking, boolean debug, boolean requireMountPointToExist, String[] fuseOpts).
Thank you ❤️
The text was updated successfully, but these errors were encountered:
Partial undo of 6cbdc4d: Don't exist whether a mount point is an existing directory. This has already been removed for Windows in 4b97249. Rationale is discussed in issue SerCeMan#73.
During an attempt to mount, jnr-fuse checks whether the mount point is an existing directory. If it is not, an exception is thrown:
There is already an exception for winfsp:
jnr-fuse/src/main/java/ru/serce/jnrfuse/AbstractFuseFS.java
Lines 254 to 259 in 4b97249
There are, however, further cases in which it is desirable to mount to a non-existing directory. According to this commit to sshfs FUSE has certain workarounds:
Therefore I kindly request to either disable this check completely (let the software depending on jnr-fuse take care of it) or add an overloaded method, e.g.
public void mount(Path mountPoint, boolean blocking, boolean debug, boolean requireMountPointToExist, String[] fuseOpts)
.Thank you ❤️
The text was updated successfully, but these errors were encountered: