Giter Site home page Giter Site logo

Comments (5)

billziss-gh avatar billziss-gh commented on May 21, 2024

Can you please post the full FUSE command line that you use to mount the file system (i.e. the arguments to host.Mount)?

Keep in mind you cannot mount a "network" file system to a directory. Only "disk" file systems can be mounted on directories.

from cgofuse.

mohankumarv2005 avatar mohankumarv2005 commented on May 21, 2024

Sure, here it is:

options := []string{"-o", "volname=Altair", "-o", "uid=-1", "-o", "gid=-1"}
host.Mount("R:\Fuse", options)

Note: The directory "Fuse" do not exist on R:

from cgofuse.

billziss-gh avatar billziss-gh commented on May 21, 2024

In order to mount on a directory, WinFsp must be able to set a "reparse point" on the (newly created) directory.

This is done in the WinFsp internal call FspFileSystemSetMountPoint_Directory. There are a few reasons why this may fail, but I am suspecting that the problem is that the "reparse point" fails on the network drive.

Is the network drive on a Windows server? For example, I believe there are some issues with reparse points on Samba shares.

from cgofuse.

mohankumarv2005 avatar mohankumarv2005 commented on May 21, 2024

Sorry for delayed response. The Network Server Setup is on Linux (OneFS).
So, it is expected to work?

from cgofuse.

billziss-gh avatar billziss-gh commented on May 21, 2024

If the server properly supports reparse points (e.g. a Windows server) I believe that it should work.

from cgofuse.

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.